A176684 Numbers k such that k^3 +-5 are primes.
2, 12, 48, 66, 78, 126, 192, 324, 576, 738, 858, 1806, 2466, 2496, 2688, 3186, 3276, 3978, 4092, 4248, 4404, 4884, 5034, 5274, 5352, 5898, 6018, 6198, 6396, 6408, 6516, 6708, 6852, 7368, 7914, 8304, 8628, 8658, 8904, 9048, 9168, 9528, 10812, 10932
Offset: 1
Keywords
Examples
12 is in the sequence, because 12^3 - 5 = 1723 and 12^3 + 5 = 1733 are primes.
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[Range[8! ],PrimeQ[ #^3-5]&&PrimeQ[ #^3+5]&]
Comments