The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A123386 Largest difference between successive semiprimes up to 10^n inclusive. 1
3, 7, 14, 24, 38, 47, 74, 74, 95, 112, 146, 163, 174 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
There are 4 semiprimes up to 10^1 {4, 6, 9, 10}. The differences between successive semiprimes are {2, 3, 1}. Thus a(1) = Max[ {2, 3, 1} ] = 3.
LINKS
PROG
(PARI) A001358(prev)={ local(a=prev+1) ; while(bigomega(a)!=2, a++ ; ) ; return(a) ; } A123386(n)={ local(sp1=4, sp2=6, a=2) ; while(sp2<=10^n, a=max(a, sp2-sp1) ; sp1=sp2 ; sp2=A001358(sp1) ; ) ; return(a) ; } { for(n=1, 13, print(A123386(n)) ; ) ; } - 2 more term from R. J. Mathar, Jan 17 2008
CROSSREFS
Sequence in context: A225256 A093523 A173247 * A060999 A089187 A333980
KEYWORD
hard,more,nonn
AUTHOR
Alexander Adamchuk, Nov 09 2006
EXTENSIONS
2 more term from R. J. Mathar, Jan 17 2008
a(8)-a(9) from Donovan Johnson, Sep 05 2008
a(10)-a(11) from Donovan Johnson, Apr 14 2010
a(12)-a(13) from Donovan Johnson, Sep 20 2012
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 May 15 06:37 EDT 2024. Contains 372538 sequences. (Running on oeis4.)