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

A239345
Numbers n such that n^8+8 is prime.
2
3, 33, 105, 129, 165, 201, 231, 351, 363, 393, 447, 543, 687, 861, 951, 1107, 1149, 1227, 1257, 1269, 1293, 1359, 1389, 1515, 1557, 1605, 1647, 1689, 1761, 1803, 1815, 1941, 1977, 2073, 2127, 2145, 2163, 2289, 2355, 2415, 2445, 2481, 2571, 2607, 2619, 2775, 2811, 2859, 2973, 3141, 3171, 3321, 3327, 3333, 3393, 3471, 3501, 3513
OFFSET
1,1
COMMENTS
Note that all the numbers in this sequence are odd.
EXAMPLE
3^8+8 = 6569 is prime. Thus, 3 is a member of this sequence.
MATHEMATICA
Select[Range[1, 3600, 2], PrimeQ[#^8+8]&] (* Harvey P. Dale, Apr 20 2015 *)
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, Jun 06 2017
CROSSREFS
Sequence in context: A123049 A153783 A048911 * A089015 A292453 A292733
KEYWORD
easy,nonn
AUTHOR
Derek Orr, Mar 16 2014
STATUS
approved