2,1

Table of n, a(n) for n=2..92.

Klaus Sutner and Sam Tetruashvili, Inferring automatic sequences.

Periodic with period length 3.

G.f.: x^2*(6 + 4*x + 3*x^2)/((1 - x^3)). [Vincenzo Librandi, Nov 18 2012]

CoefficientList[Series[(6 + 4*x + 3*x^2)/((1 - x^3)), {x, 0, 40}], x] (* Vincenzo Librandi, Nov 18 2012 *)

(MAGMA) &cat[[6, 4, 3]: n in [0..30]]; // Vincenzo Librandi, Nov 18 2012

Sequence in context: A224927 A200104 A154747 * A079624 A035335 A011097

Adjacent sequences: A217512 A217513 A217514 * A217516 A217517 A217518

nonn,easy

N. J. A. Sloane, Oct 07 2012

Terms corrected by Vincenzo Librandi, Nov 18 2012

approved