OFFSET
0,4
COMMENTS
Binomial transform of expansion of (sinh(sqrt(2)x))^2/4 = (0, 0, 1, 0, 8, 0, 64, ...). Inverse binomial transform of A006668.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,5,-7).
FORMULA
a(n) = ( (1+sqrt(8))^n + (1-sqrt(8))^n - 2 )/16.
E.g.f.: (1/4)*exp(x)*( sinh(sqrt(2)*x) )^2.
G.f.: x^2 / ( (1-x)*(1-2*x-7*x^2) ). - R. J. Mathar, Feb 05 2011
MATHEMATICA
LinearRecurrence[{3, 5, -7}, {0, 0, 1}, 41] (* G. C. Greubel, Oct 11 2022 *)
PROG
(Magma) [n le 3 select Floor((n-1)/2) else 3*Self(n-1) +5*Self(n-2) -7*Self(n-3): n in [1..41]]; // G. C. Greubel, Oct 11 2022
(SageMath)
A084058 = BinaryRecurrenceSequence(2, 7, 1, 1)
[A084150(n) for n in range(41)] # G. C. Greubel, Oct 11 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 16 2003
STATUS
approved