OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
EXAMPLE
a(1)=242590 because 210*a(1) - 105 = 50943795 and 50943795 -2, - 4, - 8, - 16, + 2, + 4, + 8 and + 16 are all prime.
MATHEMATICA
With[{c=2^Range[4]}, Select[Range[35*10^6], AllTrue[Flatten[210#-105+ {c, -c}], PrimeQ]&]] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jun 10 2015 *)
PROG
(PARI) { n=0; for (m=1, 10^12, b=210*m - 105; c=0; for (j=1, 4, if (isprime(b - 2^j) , c++, break)); if (c<4, next); for (j=1, 4, if (isprime(b + 2^j) , c++, break)); if (c == 8, write("b066082.txt", n++, " ", m); if (n==100, return)) ) } \\ Harry J. Smith, Nov 11 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Frank Ellermann, Dec 03 2001
EXTENSIONS
More terms from Don Reble, Dec 07 2001
STATUS
approved