A377288 Numbers k such that there are exactly two prime-powers between prime(k)+1 and prime(k+1)-1.
4, 9, 30, 327, 3512
Offset: 1
Examples
Primes 9 and 10 are 23 and 29, and the interval (24, 25, 26, 27, 28) contains the prime-powers 25 and 27, so 9 is in the sequence.
Links
- Lucas A. Brown, Python program.
Crossrefs
Programs
-
Mathematica
Select[Range[100], Length[Select[Range[Prime[#]+1,Prime[#+1]-1],PrimePowerQ]]==2&]
Formula
prime(a(n)) = A053706(n).
Comments