OFFSET
0,2
COMMENTS
Is a(n) the (n-1)-st elementary symmetric function of first n terms of (2,1,2,1,2,1,2,...)? See the Mathematica section. [Clark Kimberling, Dec 29 2011]
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 4, 0, -4).
FORMULA
EXAMPLE
a(0) = 1*1 = 1, a(1) = 3*1 = 3, a(2) = 4*2 = 8, a(3) = 6*2 = 12, a(4) = 7*4 = 28, a(5) = 9*4 = 36, a(6) = 10*8 = 80, a(7) = 12*8 = 96, a(8) = 13*16 = 208, ... - Philippe Deléham, Oct 11 2014
MATHEMATICA
f[k_] := 1 + Mod[k, 2]; t[n_] := Table[f[k], {k, 1, n}]
a[n_] := SymmetricPolynomial[n - 1, t[n]]
Table[a[n], {n, 1, 33}]
(* Clark Kimberling, Dec 29 2011 *)
PROG
(PARI) Vec((1+3*x+4*x^2)/(1-4*x^2+4*x^4)+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 26 2000
STATUS
approved