login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A247835
Indices of prime(n)^3 in A247834, or a(n)=0 if prime(n)^3 is not in A247834.
3
1, 0, 3, 4, 7, 9, 13, 15, 21, 27, 29, 37, 43, 47, 52, 61, 71, 74, 83, 89, 94, 105, 111, 123, 138, 145, 149, 158, 161, 168, 196, 208, 220, 226, 246, 248, 261, 276, 287, 299, 316, 319, 340, 345, 358, 364, 392, 422, 432, 436, 447, 464, 470, 496, 512, 530, 544, 549
OFFSET
1,3
COMMENTS
Conjecture: all a(n)>0, except for n=2.
FORMULA
If prime(n)^3 is in A247834, then a(n) = pi(prime(n)^(3/2)) - n + 1, where pi(x) is the prime counting function (A000720).
EXAMPLE
Using the formula, let us find the position in A247834, in which should be 17^3, if 17^3 belongs to A247834. Since 17 = prime(7), then we have a(7) = pi(17^(3/2)) - 6 = pi(70) - 6 = 13. Indeed, A247834(13) = 4913 = 17^3.
PROG
(PARI) a(n) = my(p=prime(n)); if(nextprime(ceil(p*sqrt(p))) > p*sqrt(prime(n+1)), 0, primepi(prime(n)^(3/2)) - n + 1); \\ Jinyuan Wang, Feb 17 2021
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Sep 24 2014
EXTENSIONS
More terms from Jinyuan Wang, Feb 17 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 22 05:15 EDT 2024. Contains 376097 sequences. (Running on oeis4.)