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.

A061235 Number of primes between n^4 and (n+1)^4.

Original entry on oeis.org

0, 6, 16, 32, 60, 96, 147, 207, 283, 382, 486, 619, 773, 945, 1139, 1351, 1610, 1870, 2165, 2496, 2848, 3237, 3653, 4125, 4572, 5118, 5698, 6269, 6894, 7586, 8309, 9033, 9907, 10656, 11616, 12522, 13509, 14552, 15639, 16708, 18009, 19140, 20527
Offset: 0

Views

Author

Amarnath Murthy, Apr 23 2001

Keywords

Examples

			a(3) = 32, as the number of primes between 3^4 = 81 and 4^4 = 256 is 32.
		

Crossrefs

Programs

  • Magma
    [0] cat [#PrimesInInterval(n^4, (n+1)^4): n in [1..50]]; // Vincenzo Librandi, Apr 30 2017
  • Mathematica
    Table[PrimePi[(w+1)^4]-PrimePi[w^4], {w, 0, 100}]
  • PARI
    a(n) = primepi((n+1)^4) - primepi(n^4); \\ Michel Marcus, Apr 29 2017
    

Extensions

More terms from Labos Elemer, Jul 10 2001
Edited for consistency by Peter Munn, Apr 28 2017