OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: ( -49 - 78*x - x^2 ) / ( (x-1)^3 ). - R. J. Mathar, Aug 26 2015
MATHEMATICA
(8*Range[0, 50] + 7)^2 (* Paolo Xausa, Dec 05 2025 *)
LinearRecurrence[{3, -3, 1}, {49, 225, 529}, 50] (* Harvey P. Dale, Jan 05 2026 *)
PROG
(Magma) [(8*n+7)^2: n in [0..35]]; // Vincenzo Librandi, Jul 22 2011
(PARI) a(n)=(8*n+7)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved
