OFFSET
0,3
LINKS
FORMULA
A004280 UNION {0}. - R. J. Mathar, Oct 28 2008
a(n) = 2*n - 3 + floor(2/n), n > 0. - Wesley Ivan Hurt, May 23 2013
From Chai Wah Wu, Apr 24 2017: (Start)
a(n) = 2*a(n-1) - a(n-2) for n > 4.
G.f.: x*(1 + x^3)/(1 - x)^2. (End)
MATHEMATICA
Join[{0, 1, 2}, Range[3, 151, 2]] (* Harvey P. Dale, Aug 24 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
STATUS
approved