login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031170 a(n) = prime(n+8) - prime(n). 11
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; text; internal format)
OFFSET
1,1
LINKS
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}] (* Harvey P. Dale, Mar 23 2011 *)
PROG
(Magma) [NthPrime(n+8)-NthPrime(n): n in [1..100] ]; // Vincenzo Librandi, Apr 23 2011
(Haskell)
a031170 n = a031170_list !! (n-1)
a031170_list = zipWith (-) (drop 8 a000040_list) a000040_list
-- Reinhard Zumkeller, Aug 23 2015
CROSSREFS
Cf. A000040.
Sequence in context: A147049 A219393 A020269 * A347394 A035700 A134935
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 17:38 EDT 2024. Contains 371797 sequences. (Running on oeis4.)