OFFSET
0,2
COMMENTS
Skipping a(0), this sequence shares 237 initial terms with A260484.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,1,-1).
FORMULA
G.f.: x*(3+4*x+4*x^2)/((1-x)^2*(1+x+x^2)). - Stefano Spezia, Apr 17 2021
From Wesley Ivan Hurt, Apr 19 2021: (Start)
a(n) = a(n-1) + a(n-3) - a(n-4).
a(n) = (33*n-3-sqrt(3)*(1-2*cos(2*Pi*(11*n-1)/3))*sin(2*Pi*(11*n-1)/3))/9.
3*a(n) = 11*n-1+A049347(n). - R. J. Mathar, Jan 25 2023
MATHEMATICA
Table[Floor[11 n/3], {n, 0, 50}] (* Wesley Ivan Hurt, Apr 19 2021 *)
PROG
(Ruby) p (0..50).map {|n| (n * 11) / 3 }
(Magma) [Floor(11*n/3) : n in [0..50]]; // Wesley Ivan Hurt, Apr 19 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Simon Strandgaard, Apr 03 2021
STATUS
approved