OFFSET
0,2
LINKS
FORMULA
G.f.: (1+x)/(1-x+4*x^2).
a(n) = Sum_{k=0..n} A133607(n,k)*2^k. - Philippe Deléham, Dec 29 2007
a(n) = 2^n*U(n, 1/4) + 2^(n-1)*U(n-1, 1/4) = A106853(n) + A106853(n-1) where U is the Chebyshev polynomial of the 2nd kind. - Michael Somos, Oct 24 2023
EXAMPLE
G.f. = 1 + 2*x - 2*x^2 - 10*x^3 - 2*x^4 + 38*x^5 + 46*x^6 - 106*x^7 + ... - Michael Somos, Oct 24 2023
MATHEMATICA
a[ n_] := 2^n * ChebyshevU[n, 1/4] + 2^(n-1) * ChebyshevU[n-1, 1/4]; (* Michael Somos, Oct 24 2023 *)
PROG
(PARI) {a(n) = 2^n*polchebyshev(n, 2, 1/4) + 2^(n-1)*polchebyshev(n-1, 2, 1/4)}; /* Michael Somos, Oct 24 2023 */
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Dec 28 2007
STATUS
approved