OFFSET
1,2
COMMENTS
Note 1 is a power of a prime but not a prime-power.
MATHEMATICA
Differences[Table[NestWhile[#-1&, Prime[n]-1, #>1&&!PrimePowerQ[#]&], {n, 100}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 14 2024
STATUS
approved