A061235 Number of primes between n^4 and (n+1)^4.
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
Keywords
Examples
a(3) = 32, as the number of primes between 3^4 = 81 and 4^4 = 256 is 32.
Links
- Amiram Eldar, Table of n, a(n) for n = 0..10000 (terms 0..300 from Vincenzo Librandi)
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