OFFSET
1,3
EXAMPLE
a(1) = prime(prime(1*1) - 1*1) - 1*1 = prime(prime(1) - 1) - 1 = prime(2 - 1) - 1 = prime(1) - 1 = 2 - 1 = 1.
a(5) = prime(prime(5*5) - 5*5) - 5*5 = prime(prime(25) - 25) - 25 = prime(97 - 25) - 25 = prime(72) - 25 = 359 - 25 = 334.
MAPLE
p:=ithprime: seq(p(p(n^2)-n^2)-n^2, n=1..40); # Emeric Deutsch, Aug 16 2008
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jul 31 2008
EXTENSIONS
Corrected and extended by Emeric Deutsch, Aug 16 2008
STATUS
approved