A367591 Expansion of 1/((1-x) * (1-3*x)^3).
1, 10, 64, 334, 1549, 6652, 27064, 105796, 401041, 1483606, 5380840, 19198306, 67559437, 234963352, 808919632, 2760370984, 9346519297, 31429487170, 105039380080, 349114288150, 1154561484781, 3801030845140, 12462203297224, 40705156945324, 132494756301649
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (10,-36,54,-27).
Programs
-
PARI
a(n) = ((2*n^2+4*n+3)*3^(n+1)-1)/8;
Formula
a(n) = ((2*n^2+4*n+3) * 3^(n+1) - 1)/8.