OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
MATHEMATICA
#[[1]]^2-#[[2]]&/@Partition[Prime[Range[50]], 2, 1] (* Harvey P. Dale, Mar 15 2015 *)
PROG
(PARI) { for (n=1, 1000, write("b062235.txt", n, " ", prime(n)^2 - prime(n + 1)) ) } \\ Harry J. Smith, Aug 03 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Reinhard Zumkeller, Jun 29 2001
STATUS
approved