OFFSET
1,2
COMMENTS
Record gaps between prime powers (A000961) [Michael B. Porter, Nov 01 2009].
LINKS
Jan Kristian Haugland, Table of n, a(n) for n = 1..87 (terms 1..79 from Donovan Johnson). The extra terms are copied from A005250 as the associated prime gaps do not contain any prime powers.
EXAMPLE
6 is in the sequence since 53 and 59 are consecutive prime powers and no smaller pair of consecutive prime powers differ by 6 or more. [From Michael B. Porter, Nov 03 2009]
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(d); d_max=d); n_prev=n)) /* Michael B. Porter, Nov 01 2009 */
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Lekraj Beedassy, Aug 03 2006
EXTENSIONS
Second term corrected. a(20)-a(79) and b-file from Donovan Johnson, Nov 14 2008
STATUS
approved