Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123386
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123386 Largest difference between successive semiprimes up to 10^n inclusive. +0
1
3, 7, 14, 24, 38, 47, 74, 74, 95 (list; graph; listen)
OFFSET

1,1

COMMENT

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.

PROGRAM

(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 (mathar(AT)strw.leidenuniv.nl), Jan 17 2008

CROSSREFS

Cf. A001358, A065516, A036352, A038460, A053303.

Sequence in context: A004232 A140462 A093523 this_sequence A060999 A089187 A004006

Adjacent sequences: A123383 A123384 A123385 this_sequence A123387 A123388 A123389

KEYWORD

hard,more,nonn

AUTHOR

Alexander Adamchuk (alex(AT)kolmogorov.com), Nov 09 2006

EXTENSIONS

2 more term from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 17 2008

a(8)-a(9) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Sep 05 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research