login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A121492 Gaps associated with A002540(n). 5
1, 2, 3, 4, 5, 6, 8, 10, 12, 14, 20, 22, 30, 32, 34, 36, 44, 52, 72, 86, 96, 112, 114, 118, 132, 148, 154, 180, 210, 220, 222, 234, 248, 250, 282, 288, 292, 320, 336, 354, 382, 384, 394, 456, 464, 468, 474, 486, 490, 500, 514, 516, 532, 534, 540, 582, 588, 602 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Record gaps between prime powers (A000961) [Michael B. Porter, Nov 01 2009].
LINKS
Donovan Johnson, Table of n, a(n) for n=1..79 [From Donovan Johnson, Nov 14 2008]
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
start of gap: A002540, end of gap: A167236, gaps: A057820 [From Michael B. Porter, Nov 03 2009]
Sequence in context: A218906 A059809 A327634 * A182418 A204580 A347831
KEYWORD
nonn
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 08:59 EDT 2024. Contains 371268 sequences. (Running on oeis4.)