OFFSET
1,2
COMMENTS
Used to illustrate Besicovitch's density theorem.
REFERENCES
H. Halberstam and K. F. Roth, Sequences, Oxford, 1966; see p. 6.
LINKS
FORMULA
G.f.: x*(1+8*x-8*x^2)/(1-x)^2. - Bruno Berselli, Sep 02 2011
MATHEMATICA
Table[n + 8 - 8 Boole[n == 1], {n, 69}] (* or *)
Rest@ CoefficientList[Series[x (1 + 8 x - 8 x^2)/(1 - x)^2, {x, 0, 69}], x] (* Michael De Vlieger, May 03 2017 *)
PROG
(PARI) if(n==1, 1, n+9) \\ Charles R Greathouse IV, Sep 02 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 19 2010
STATUS
approved