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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031167 p(n+5)-p(n) (p()=primes). 1
11, 14, 14, 16, 18, 18, 20, 22, 20, 18, 22, 22, 20, 24, 24, 20, 20, 22, 22, 26, 28, 24, 24, 20, 16, 26, 28, 30, 30, 36, 24, 26, 26, 28, 24, 28, 24, 28, 26, 24, 20, 30, 32, 34, 32, 34, 28, 18, 24, 28, 30, 30, 30, 26, 24, 20, 24, 36, 34, 32, 34, 38, 30, 36, 36, 36, 28 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

MAPLE

ithprime(n+5)-ithprime(n);

MATHEMATICA

a=5; t=Array[Prime, 123]; Drop[t, a]-Drop[t, -a] [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Aug 13 2009]

PROG

(PARI) A031167(n) = prime(n+5)-prime(n)

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

CROSSREFS

Sequence in context: A100332 A083124 A132991 * A005788 A091403 A061743

Adjacent sequences:  A031164 A031165 A031166 * A031168 A031169 A031170

KEYWORD

nonn

AUTHOR

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

EXTENSIONS

Initial term added by Michael B. Porter (michael_b_porter(AT)yahoo.com), Jan 27 2010

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 14 23:53 EST 2012. Contains 205689 sequences.