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

A239417
Numbers n such that n^9-9 is prime.
5
2, 62, 86, 88, 116, 152, 266, 292, 310, 326, 338, 356, 406, 436, 466, 470, 518, 550, 568, 616, 626, 650, 688, 700, 722, 812, 850, 926, 956, 992, 1058, 1076, 1126, 1186, 1252, 1430, 1550, 1570, 1642, 1672, 1682, 1766, 1808, 1852, 1868, 1888, 2138, 2210, 2306
OFFSET
1,1
COMMENTS
Note that all numbers in this sequence are even.
EXAMPLE
2^9-9 = 503 is prime. Thus, 2 is a member of this sequence.
PROG
(Python)
import sympy
from sympy import isprime
{print(n) for n in range(10**4) if isprime(n**9-9)}
(PARI) is(n)=isprime(n^9-9) \\ Charles R Greathouse IV, Feb 20 2017
KEYWORD
nonn
AUTHOR
Derek Orr, Mar 17 2014
STATUS
approved