OFFSET
1,4
EXAMPLE
The first number line below shows the non prime powers. The second shows the primes:
--1-------------6----------10----12----14-15-------18----20-21-22----24--
=====2==3====5=====7==========11====13==========17====19==========23=====
MATHEMATICA
Table[Max[Select[Range[Prime[n]], Not@*PrimePowerQ]], {n, 100}]
CROSSREFS
For nonprime instead of non prime power we have A156037.
Restriction of A378367.
Lengths are A378615.
Prime powers between primes:
- A377057 positive
- A377286 zero
- A377287 one
- A377288 two
KEYWORD
nonn,new
AUTHOR
Gus Wiseman, Dec 06 2024
STATUS
approved