OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = (31*n)^2-(30*n)^2.
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3). - Vincenzo Librandi, Jul 12 2012
G.f.: 61*x*(1+x)/(1-x)^3. - Vincenzo Librandi, Jul 12 2012
MATHEMATICA
Table[61*n^2, {n, 0, 50}] (* Vincenzo Librandi, Jul 12 2012 *)
LinearRecurrence[{3, -3, 1}, {0, 61, 244}, 40] (* Harvey P. Dale, Apr 14 2022 *)
PROG
(Magma) [61*n^2: n in [0..50]];
(PARI) a(n)=61*n^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 16 2010
EXTENSIONS
Definition clarified by R. J. Mathar, Jul 06 2010
Comment rewritten as formula by Bruno Berselli, Jul 12 2012
STATUS
approved