OFFSET
1,1
LINKS
Jan Kristian Haugland, Table of n, a(n) for n = 1..87. The extra terms after a(33) are copied from A000101 as the associated prime gaps do not contain any prime powers.
EXAMPLE
59 is in the sequence since 53 and 59 are consecutive prime powers with a difference of 6 and no smaller pair of consecutive prime powers differ by 6 or more.
PROG
(PARI) isA000961(n) = (omega(n) == 1 || n == 1)
d_max=0; n_prev=1; for(n=2, 1e6, if(isA000961(n), d=n-n_prev; if(d>d_max, print(n); d_max=d); n_prev=n))
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael B. Porter, Nov 01 2009, Nov 03 2009
EXTENSIONS
a(34) onwards from Jan Kristian Haugland, Oct 18 2024
STATUS
approved