A305559 [0, -1, -1] together with A000290.
0, -1, -1, 0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400, 441, 484, 529, 576, 625, 676, 729, 784, 841, 900, 961, 1024, 1089, 1156, 1225, 1296, 1369, 1444, 1521, 1600, 1681, 1764, 1849, 1936, 2025, 2116, 2209, 2304, 2401, 2500
Offset: 0
Links
- Paolo Xausa, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
Programs
-
Mathematica
Join[{0,-1,-1},Range[0,100]^2] (* Paolo Xausa, Nov 13 2023 *)
Formula
From Stefano Spezia, May 28 2025: (Start)
G.f.: x*(1 - 2*x + x^3 - 2*x^4)/(1 - x)^3.
E.g.f.: 9 + 5*x + x^2 - exp(x)*(9 - 5*x + x^2). (End)
Comments