A093833 3^n-Jacobsthal(n).
1, 2, 8, 24, 76, 232, 708, 2144, 6476, 19512, 58708, 176464, 530076, 1591592, 4777508, 14337984, 43024876, 129096472, 387333108, 1162086704, 3486434876, 10459654152, 31379661508, 94140382624, 282423944076, 847277424632
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (4,-1,-6)
Formula
G.f.: (1-x)^2/((1+x)(1-2x)(1-3x)); a(n)=3^n-2^n/3+(-1)^n/3; a(n)=3^n-A001045(n).
Comments