A047915 3*n^2-2*n+6.
6, 7, 14, 27, 46, 71, 102, 139, 182, 231, 286, 347, 414, 487, 566, 651, 742, 839, 942, 1051, 1166, 1287, 1414, 1547, 1686, 1831, 1982, 2139, 2302, 2471, 2646, 2827, 3014, 3207, 3406, 3611, 3822, 4039, 4262, 4491, 4726, 4967, 5214, 5467, 5726, 5991, 6262, 6539
Offset: 0
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
Programs
-
Mathematica
Table[3n^2-2n+6,{n,0,50}] (* or *) LinearRecurrence[{3,-3,1},{6,7,14},50] (* Harvey P. Dale, Dec 14 2024 *)
-
PARI
a(n)=3*n^2-2*n+6 \\ Charles R Greathouse IV, Jun 17 2017
Formula
G.f.: (6-11x+11x^2)/(1-x)^3. Binomial transform of 6,1,6,0,0,.. (0 continued). - R. J. Mathar, Sep 29 2008
Comments