OFFSET
1,2
COMMENTS
A Chebyshev transform of (1+2x)/(1-2x) (A046055) given by G(x)->(1/(1+x^2))G(x/(1+x^2)). - Paul Barry, Oct 27 2004
FORMULA
From Paul Barry, Oct 27 2004: (Start)
G.f.: (1+x)^2/((1+x^2)*(1-2x+x^2));
e.g.f.: exp(x)(2+2x) - cos(x);
a(n) = 2n + 2 - cos(Pi*n/2);
a(n) = Sum_{k=0..n} (0^k + 4^k)*cos(Pi*(n-k)/2);
a(n) = Sum_{k=0..floor(n/2)} C(n-k, k)*(-1)^k(2*2^(n-2k)-0^(n-2k));
a(n) = 2a(n-1) - 2a(n-2) + 2a(n-3) - a(n-4). (End)
PROG
(PARI) for (x=1, 200, for (y=1, 200, if (kronecker(x, y)==moebius(gcd(x, y)), write("km.txt", x, "; ", y, " : ", kronecker(x, y)))))
(Sage) [lucas_number1(n+2, 0, 1)+2*n for n in range(1, 66)] # Zerinvary Lajos, Mar 09 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Sep 17 2002
STATUS
approved