login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A176684
Numbers k such that k^3 +-5 are primes.
2
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,1
LINKS
EXAMPLE
12 is in the sequence, because 12^3 - 5 = 1723 and 12^3 + 5 = 1733 are primes.
MATHEMATICA
Select[Range[8! ], PrimeQ[ #^3-5]&&PrimeQ[ #^3+5]&]
KEYWORD
nonn
AUTHOR
STATUS
approved