A167498 a(n) = 6+32*n^2+8*n*(7+8*n^2)/3.
6, 78, 342, 926, 1958, 3566, 5878, 9022, 13126, 18318, 24726, 32478, 41702, 52526, 65078, 79486, 95878, 114382, 135126, 158238, 183846, 212078, 243062, 276926, 313798, 353806, 397078, 443742, 493926, 547758, 605366, 666878, 732422, 802126, 876118, 954526, 1037478, 1125102
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..10000
- Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
Programs
-
Magma
[6+32*n^2+8*n*(7+8*n^2)/3: n in [0..50] ]; // Vincenzo Librandi, Aug 06 2011
-
Mathematica
LinearRecurrence[{4,-6,4,-1}, {6, 78, 342, 926}, 100] (* G. C. Greubel, Jun 14 2016 *)
Formula
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) + 128.
G.f.: ( 6+54*x+66*x^2+2*x^3 ) / (x-1)^4 . - R. J. Mathar, Jul 01 2011
Comments