OFFSET
1,2
COMMENTS
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
EXAMPLE
(7*2)^2 + 1 = 197 is prime. Thus 72 is a term of this sequence.
PROG
(PARI) for(n=1, 10^3, d=digits(n); if(ispseudoprime(prod(i=1, #d, d[i])^2+1), print1(n, ", ")))
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Derek Orr, Jul 12 2014
EXTENSIONS
Corrected by Jens Kruse Andersen, Jul 13 2014
STATUS
approved