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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031170 prime(n+8) - prime(n). 0
21, 26, 26, 30, 30, 30, 30, 34, 36, 32, 36, 34, 32, 36, 36, 36, 38, 40, 36, 36, 36, 34, 44, 42, 40, 38, 46, 44, 48, 50, 40, 42, 42, 42, 42, 42, 40, 36, 44, 50, 48, 48, 42, 46, 44, 52, 46, 40, 42, 42, 44, 42, 42, 42, 50, 48, 44, 46, 54, 56, 64, 56, 46, 48, 54, 56, 48 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

a(n) = A000040(n+8) - A000040(n) [Zak Seidov, Mar 23 2011]

MAPLE

ithprime(n+8)-ithprime(n);

MATHEMATICA

Table[Prime[n+8]-Prime[n], {n, 1, 100}]  (* From Harvey P. Dale, Mar 23 2011 *)

PROG

(MAGMA) [NthPrime(n+8)-NthPrime(n): n in [1..100] ]; // Vincenzo Librandi, Apr 23 2011

CROSSREFS

Cf. A000040.

Sequence in context: A118568 A147049 A020269 * A035700 A134935 A173836

Adjacent sequences:  A031167 A031168 A031169 * A031171 A031172 A031173

KEYWORD

nonn

AUTHOR

Jeff Burch (jmburch(AT)osprey.smcm.edu)

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 15 17:13 EST 2012. Contains 205828 sequences.