OFFSET
0,3
COMMENTS
n appears this number of times in A000720. - Lekraj Beedassy, Jun 19 2006
a(0) = 1, for n >= 1: a(n) = differences between consecutive primes (A001223(n)) = A158611(n+2) - A158611(n+1). Partial sums give A006093 (shifted). - Jaroslav Krizek, Aug 04 2009
First differences of noncomposite numbers. - Juri-Stepan Gerasimov, Feb 17 2010
FORMULA
a(n) = A001223(n) for n>0.
MATHEMATICA
Prime[Range[100]] // Differences // Prepend[#, 1]& (* Jean-François Alcover, Dec 11 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 22 2002
EXTENSIONS
STATUS
approved