OFFSET
1,3
LINKS
P. Moree, Convoluted convolved Fibonacci numbers
Index entries for linear recurrences with constant coefficients, signature (4,0,-16,10,20,-12,-4,-7,-12,12,12,2,0,-4,-4,-1).
FORMULA
G.f.: (z/4)[1/(1-z-z^2)^4-1/(1-z^2-z^4)^2].
MAPLE
with(numtheory): f := z->1/(1-z-z^2): m := proc(r, j) d := divisors(r): W := (1/r)*z*sum(mobius(d[i])*f(z^d[i])^(r/d[i]), i=1..nops(d)): Wser := simplify(series(W, z=0, 80)): coeff(Wser, z^j) end: seq(m(4, j), j=1..40);
MATHEMATICA
LinearRecurrence[{4, 0, -16, 10, 20, -12, -4, -7, -12, 12, 12, 2, 0, -4, -4, -1}, {0, 1, 3, 10, 25, 64, 146, 331, 710, 1505, 3091, 6272, 12473, 24540, 47610, 91527}, 40]
(* Ray Chandler, Jul 15 2015 *)
PROG
(PARI) a(n)=([0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1; -1, -4, -4, 0, 2, 12, 12, -12, -7, -4, -12, 20, 10, -16, 0, 4]^(n-1)*[0; 1; 3; 10; 25; 64; 146; 331; 710; 1505; 3091; 6272; 12473; 24540; 47610; 91527])[1, 1] \\ Charles R Greathouse IV, May 29 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
N. J. A. Sloane, Dec 05 2003
EXTENSIONS
Edited by Emeric Deutsch, Mar 06 2004
STATUS
approved
