A081912 a(n) = 6^n*(n^2 - n + 72)/72.
1, 6, 37, 234, 1512, 9936, 66096, 443232, 2985984, 20155392, 136048896, 917070336, 6167549952, 41358864384, 276451356672, 1841557856256, 12224809598976, 80871817347072, 533189772509184, 3503818505060352, 22952550207062016
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..150
- Index entries for linear recurrences with constant coefficients, signature (18,-108,216).
Programs
-
Magma
[6^n*(n^2-n+72)/72: n in [0..40]]; // Vincenzo Librandi, Apr 27 2011
Formula
a(n) = 6^n*(n^2 - n + 72)/72.
G.f.: (1 - 12x + 37x^2)/(1-6x)^3.
Comments