%N Gaps associated with A002540(n).
%C Record gaps between prime powers (A000961) [_Michael B. Porter_, Nov 01 2009].
%H Donovan Johnson, <a href="/A121492/b121492.txt">Table of n, a(n) for n=1..79</a> [From _Donovan Johnson_, Nov 14 2008]
%e 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]
%o (PARI) isA000961(n) = (omega(n) == 1 | n == 1)
%o 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 */
%Y Cf. A002540, A167236, A057820, A000961 [_Michael B. Porter_, Nov 01 2009]
%Y start of gap: A002540, end of gap: A167236, gaps: A057820 [From _Michael B. Porter_, Nov 03 2009]
%A _Lekraj Beedassy_, Aug 03 2006
%E Second term corrected. a(20)-a(79) and b-file from _Donovan Johnson_, Nov 14 2008