(MAGMAMagma) [(7*n^2 - 7*n + 4)/2: n in [1..30]]; // G. C. Greubel, Jan 04 2018
(MAGMAMagma) [(7*n^2 - 7*n + 4)/2: n in [1..30]]; // G. C. Greubel, Jan 04 2018
editing
approved
LinearRecurrence[{3, -3, 1}, {2, 9, 23}, 40] (* Harvey P. Dale, Nov 02 2020 *)
approved
editing
G. C. Greubel, <a href="/A209294/b209294_7.txt">Table of n, a(n) for n = 1..5000</a>
reviewed
approved
proposed
reviewed
editing
proposed
E.g.f.: ((7*x^2 + 4)*exp(x) - 4)/2. - G. C. Greubel, Jan 04 2018 *)
proposed
editing
editing
proposed
a(n) = (7/2*n^2 - 7/2*n + 4)/2.
G. C. Greubel, <a href="/A209294/b209294_7.txt">Table of n, a(n) for n = 1..5000</a>
a(n) = (7/2*n^2 - 7/2*n + 2 4) = 7*T(n) + 2 with T = A000217.
E.g.f.: ((7*x^2 + 4)*exp(x) - 4)/2. - G. C. Greubel, Jan 04 2018 *)
Table[(7*n^2 - 7*n + 4)/2, {n, 1, 50}] (* G. C. Greubel, Jan 04 2018 *)
(MAGMA) [(7*n^2 - 7*n + 4)/2: n in [1..30]]; // G. C. Greubel, Jan 04 2018
approved
editing