OFFSET
1,1
EXAMPLE
a(3)=1531 since 1531-(1^4+5^4+3^4+1^4)=1531-708=823 is prime and 1531+708=2239 is prime.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Carmine Suriano, Jul 20 2010
STATUS
approved