login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A063076
Differences of A011757 ("Primes with square indices").
3
5, 16, 30, 44, 54, 76, 84, 108, 122, 120, 166, 182, 184, 234, 192, 260, 264, 294, 304, 342, 378, 342, 408, 426, 414, 468, 488, 474, 516, 576, 588, 576, 604, 590, 696, 694, 728, 694, 756, 828, 774, 776, 870, 862, 852, 1010, 922, 998, 916, 1020, 1032, 1110
OFFSET
1,1
COMMENTS
Does a(n) = k^2 have infinitely many solutions? E.g., 16 = 4^2; 576 = 24^2; ...
LINKS
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
Sequence in context: A212457 A134594 A222535 * A270805 A132479 A045944
KEYWORD
nonn
AUTHOR
Santi Spadaro, Aug 04 2001
EXTENSIONS
More terms from Jason Earls, Aug 05 2001
STATUS
approved