OFFSET
1,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,1,-1).
FORMULA
a(n) = floor((6n-3)/5). - Gary Detlefs, Mar 07 2010
G.f.: x^2*(1+x)*(x^3+x+1) / ( (x^4+x^3+x^2+x+1)*(x-1)^2 ). - R. J. Mathar, Oct 08 2011
Sum_{n>=2} (-1)^n/a(n) = log(2+sqrt(3))/sqrt(3) - (3-2*sqrt(3))*Pi/36. - Amiram Eldar, Dec 17 2021
MAPLE
seq(floor((6*n-3)/5), n= 1..70); # Gary Detlefs, Mar 07 2010
MATHEMATICA
Flatten[#+{0, 1, 3, 4, 5}&/@(6Range[0, 12])] (* Harvey P. Dale, Apr 21 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved