OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MAPLE
ithprime(n+9)-ithprime(n);
MATHEMATICA
Table[Prime[n+9]-Prime[n], {n, 80}] (* Harvey P. Dale, Jan 29 2023 *)
PROG
(Magma) [NthPrime(n+9)-NthPrime(n): n in [1..100] ]; // Vincenzo Librandi, Apr 23 2011
(Haskell)
a031171 n = a031171_list !! (n-1)
a031171_list = zipWith (-) (drop 9 a000040_list) a000040_list
-- Reinhard Zumkeller, Aug 23 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset changed from 2 to 1 and a(1)=27 inserted by Vincenzo Librandi, Apr 23 2011
STATUS
approved