OFFSET
1,1
COMMENTS
Since the factors of 2 and 5 are the same as a factor of 10, a subset of A030430 "primes of form 10n+1." There are subsequences such as 71, 701, 7001, 70001, 700001, 700000001, 7000000001; 281, 2801, 280001, 2800001; 491, 490001, 4900001, 490000001, 49000000001, 490000000001.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = 71 = 2^1 * 5^1 * 7^1 + 1.
a(2) = 281 = 2^3 * 5^1 * 7^1 + 1.
a(3) = 491 = 2^1 * 5^1 * 7^2 + 1.
a(4) = 701 = 2^2 * 5^2 * 7^1 + 1.
a(5) = 2801 = 2^4 * 5^2 * 7^1 + 1.
MATHEMATICA
With[{nn=30}, Take[Select[Union[2^#[[1]]*5^#[[2]]*7^#[[3]]+1&/@Tuples[ Range[nn], 3]], PrimeQ], nn]] (* Harvey P. Dale, Aug 24 2012 *)
PROG
(PARI) find(lim)=my(v=List(), t); for(b=1, log(lim\14)\log(5), for(c=1, log(lim\2\5^b)/log(7), t=2*5^b*7^c; while(t<lim, if(ispseudoprime(t+1), listput(v, t+1)); t+=t))); vecsort(Vec(v));
find(10^100) \\ Charles R Greathouse IV, Feb 17 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Jonathan Vos Post, Feb 22 2006
EXTENSIONS
Corrected by T. D. Noe, Nov 15 2006
STATUS
approved