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.

A365767 a(n) is the number of primes between (prime(n))^3 and (prime(n+1))^3.

Original entry on oeis.org

5, 21, 38, 149, 110, 329, 226, 575, 1250, 521, 1966, 1656, 939, 2127, 3830, 4665, 1768, 5883, 4535, 2387, 8007, 5968, 9965, 15293, 8508, 4457, 9513, 4974, 10458, 42153, 13671, 21959, 7750, 41767, 9007, 28180, 30226, 21322, 33813, 35899, 12506, 66241, 14003, 28809, 14848, 94735
Offset: 1

Views

Author

Zak Seidov and Robert Israel, Sep 18 2023

Keywords

Examples

			a(2) = 21 because there are 21 primes between prime(2)^3 = 27 and prime(3)^3 = 125.
		

Crossrefs

First differences of A086688.

Programs

  • Maple
    A:= [seq(numtheory:-pi(ithprime(i)^3),i=1..30)]:
    A[2..-1] - A[1..-2];

Formula

a(n) = A038098(A000040(n+1)) - A038098(A000040(n)).