OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,1,-1).
FORMULA
a(n) = (2/9)*(3*n+6-3*cos(2*(n+4)*Pi/3)-2*sqrt(3)*sin(2*(n+4)*Pi/3)). - Wesley Ivan Hurt, Sep 26 2017
MATHEMATICA
LinearRecurrence[{1, 0, 1, -1}, {1, 3, 2, 3}, 80] (* Harvey P. Dale, Aug 12 2016 *)
{#[[1]], #[[3]], #[[2]]}&/@Partition[Range[60], 3, 2]//Flatten (* Harvey P. Dale, Jul 17 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Aug 17 2007
EXTENSIONS
Edited by N. J. A. Sloane, Sep 15 2007
STATUS
approved