OFFSET
1,1
COMMENTS
Any further terms are > 10^12. - Lucas A. Brown, Nov 08 2024
LINKS
Lucas A. Brown, Python program.
FORMULA
prime(a(n)) = A053706(n).
EXAMPLE
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.
MATHEMATICA
Select[Range[100], Length[Select[Range[Prime[#]+1, Prime[#+1]-1], PrimePowerQ]]==2&]
CROSSREFS
The corresponding primes are A053706.
For no prime-powers we have A377286.
For exactly one prime-power we have A377287.
A000015 gives the least prime-power >= n.
A031218 gives the greatest prime-power <= n.
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Oct 25 2024
STATUS
approved