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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123128 Add n to the n-th difference between consecutive primes. 0
2, 4, 5, 8, 7, 10, 9, 12, 15, 12, 17, 16, 15, 18, 21, 22, 19, 24, 23, 22, 27, 26, 29, 32, 29, 28, 31, 30, 33, 44, 35, 38, 35, 44, 37, 42, 43, 42, 45, 46, 43, 52, 45, 48, 47, 58, 59, 52, 51, 54, 57, 54, 63, 60, 61, 62, 59, 64, 63, 62, 71, 76, 67, 66, 69, 80, 73, 78, 71, 74, 77 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

A. Frank & P. Jacqueroux, International Contest, 2001.

FORMULA

a(n) = n + (prime(n+1)-prime(n)) = n + A001223(n)

PROG

(PARI) for(n=1, 100, print1(prime(n+1)-prime(n)+n, ", "))

CROSSREFS

Cf. A001223.

Sequence in context: A076990 A057168 A087711 * A057064 A144831 A088580

Adjacent sequences:  A123125 A123126 A123127 * A123129 A123130 A123131

KEYWORD

nonn

AUTHOR

Herman Jamke (hermanjamke(AT)fastmail.fm), Sep 30 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 14:50 EST 2012. Contains 206050 sequences.