A239345 Numbers n such that n^8+8 is prime.
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
Examples
3^8+8 = 6569 is prime. Thus, 3 is a member of this sequence.
Programs
-
Mathematica
Select[Range[1,3600,2],PrimeQ[#^8+8]&] (* Harvey P. Dale, Apr 20 2015 *)
-
PARI
is(n)=isprime(n^8+8) \\ Charles R Greathouse IV, Jun 06 2017
-
Python
import sympy from sympy import isprime {print(n) for n in range(10**4) if isprime(n**8+8)}
Comments