login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118336 a(n)= greatest multiple of (p(n+1)-p(n)) which is < p(n), where p(m) is the m-th prime. 1
1, 2, 4, 4, 10, 12, 16, 16, 18, 28, 30, 36, 40, 40, 42, 48, 58, 60, 64, 70, 72, 76, 78, 88, 96, 100, 100, 106, 108, 112, 124, 126, 136, 130, 148, 150, 156, 160, 162, 168, 178, 180, 190, 192, 196, 192, 204, 220, 226, 228, 228, 238, 240, 246, 252, 258, 268, 270, 276 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

A118335(n) - a(n) = 2 *(p(n+1) -p(n)). A113709(n) - a(n) = p(n+1) -p(n), for n>= 2.

FORMULA

a(1)=1; a(n)=[p(n+1)-p(n)]*floor(p(n)/[p(n+1)-p(n)]) for n>=2. - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 27 2006

MAPLE

a:=n->(ithprime(n+1)-ithprime(n))*floor(ithprime(n)/(ithprime(n+1)-ithprime(n))): 1, seq(a(n), n=2..64); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 27 2006

CROSSREFS

Cf. A113709, A118335.

Sequence in context: A038043 A126138 A054764 * A193852 A202076 A199825

Adjacent sequences:  A118333 A118334 A118335 * A118337 A118338 A118339

KEYWORD

nonn

AUTHOR

Leroy Quet Apr 25 2006

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 27 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 19:13 EST 2012. Contains 206085 sequences.