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”).

A239416
Numbers n such that n^8-8 is prime.
5
3, 7, 19, 39, 73, 75, 101, 107, 145, 147, 171, 213, 235, 247, 263, 285, 319, 353, 359, 369, 399, 443, 445, 521, 523, 557, 613, 675, 693, 707, 733, 781, 791, 805, 815, 829, 837, 879, 927, 943, 961, 999, 1033, 1097, 1103, 1109, 1129, 1137, 1141, 1155, 1157
OFFSET
1,1
COMMENTS
Note that all the numbers in this sequence are odd.
EXAMPLE
3^8-8 = 6553 is prime. Thus, 3 is a member of this sequence.
MATHEMATICA
Select[Range[3, 1200, 2], PrimeQ[#^8-8]&] (* Harvey P. Dale, Jun 27 2014 *)
PROG
(Python)
import sympy
from sympy import isprime
{print(n) for n in range(10**4) if isprime(n**8-8)}
(PARI) is(n)=isprime(n^8-8) \\ Charles R Greathouse IV, Feb 20 2017
KEYWORD
nonn
AUTHOR
Derek Orr, Mar 17 2014
STATUS
approved