login
A017318
a(n) = (10*n + 4)^2.
2
16, 196, 576, 1156, 1936, 2916, 4096, 5476, 7056, 8836, 10816, 12996, 15376, 17956, 20736, 23716, 26896, 30276, 33856, 37636, 41616, 45796, 50176, 54756, 59536, 64516, 69696, 75076, 80656, 86436
OFFSET
0,1
FORMULA
G.f.: -4*(x+4)*(9*x+1)/(x-1)^3. - R. J. Mathar, Mar 20 2018
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Wesley Ivan Hurt, Aug 19 2022
MATHEMATICA
(10Range[0, 30]+4)^2 (* or *) LinearRecurrence[{3, -3, 1}, {16, 196, 576}, 30] (* Harvey P. Dale, May 03 2018 *)
PROG
(Magma) [(10*n+4)^2: n in [0..40] ]; // Vincenzo Librandi, Aug 01 2011
(PARI) a(n)=(10*n+4)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
Sequence in context: A281946 A077363 A068989 * A173668 A373108 A126981
KEYWORD
nonn,easy
STATUS
approved