A383464 a(n) = 8*n^2 - 5*n + 1.
1, 4, 23, 58, 109, 176, 259, 358, 473, 604, 751, 914, 1093, 1288, 1499, 1726, 1969, 2228, 2503, 2794, 3101, 3424, 3763, 4118, 4489, 4876, 5279, 5698, 6133, 6584, 7051, 7534, 8033, 8548, 9079, 9626, 10189, 10768, 11363, 11974, 12601, 13244, 13903, 14578, 15269
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..3499
- Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
Programs
-
Magma
I:=[1, 4, 23]; [n le 3 select I[n] else 3*Self(n-1)-3* Self(n-2)+Self(n-3): n in [1..40]]; // Vincenzo Librandi, Jun 27 2025
-
Mathematica
LinearRecurrence[{3,-3,1},{1,4,23},50] (* Vincenzo Librandi, Jun 27 2025 *)
Formula
G.f.: (1 + x + 14*x^2)/(1 - x)^3.
E.g.f.: exp(x)*(1 + 3*x + 8*x^2). - Stefano Spezia, Jun 30 2025
Comments