A083331 a(n) = (3*5^n - 2*4^n + 3^n)/2.
1, 5, 26, 137, 722, 3785, 19706, 101897, 523682, 2677385, 13629386, 69136457, 349699442, 1764742985, 8889229466, 44709799817, 224608392002, 1127293880585, 5653520131946, 28335932715977, 141953379225362, 710862920970185
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (12, -47, 60).
Formula
a(n) = (3*5^n - 2*4^n + 3^n)/2.
G.f.: (1-7x+13x^2)/(2(1-3x)(1-4x)(1-5x)).
E.g.f.: (3*exp(5x) - 2*exp(4x) + exp(3x))/2.
Comments