login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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