OFFSET
1,1
COMMENTS
Does a(n) = k^2 have infinitely many solutions? E.g., 16 = 4^2; 576 = 24^2; ...
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
MATHEMATICA
Differences[Prime[Range[60]^2]] (* Harvey P. Dale, May 01 2023 *)
PROG
(PARI) j=[]; for(n=1, 150, j=concat(j, prime((n+1)^2)-prime(n^2))); j
(PARI) { default(primelimit, 2*10^7); for (n=1, 1000, write("b063076.txt", n, " ", prime((n+1)^2) - prime(n^2)) ) } \\ Harry J. Smith, Aug 17 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Santi Spadaro, Aug 04 2001
EXTENSIONS
More terms from Jason Earls, Aug 05 2001
STATUS
approved