OFFSET
1,1
EXAMPLE
a(1)=17 because 4^2+1^2=17 and 4+1=prime(3)=5;
a(2)=97 because 9^2+4^2=97 and 9+4=prime(6)=13;
a(3)=257 because 16^2+1^2=257 and 16+1=prime(7)=17.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Mar 29 2005
STATUS
approved