cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A063076 Differences of A011757 ("Primes with square indices").

Original entry on oeis.org

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

Views

Author

Santi Spadaro, Aug 04 2001

Keywords

Comments

Does a(n) = k^2 have infinitely many solutions? E.g., 16 = 4^2; 576 = 24^2; ...

Crossrefs

Programs

  • Mathematica
    Differences[Prime[Range[60]^2]] (* Harvey P. Dale, May 01 2023 *)
  • 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

Extensions

More terms from Jason Earls, Aug 05 2001