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
a(n) = a(n-1)+200n-60, n>0 ; a(0)=4. - Miquel Cerda, Oct 30 2016
G.f.: 4*(1 + 33*x + 16*x^2)/(1 - x)^3. - Ilya Gutkovskiy, Oct 30 2016
a(n) = A017293(n)^2. - Michel Marcus, Oct 30 2016
a(n) = (2*A016861(n))^2. - David A. Corneth, Oct 30 2016
MATHEMATICA
(10 Range[0, 50] + 2)^2 (* Wesley Ivan Hurt, Sep 04 2022 *)
PROG
(Magma) [(10*n+2)^2: n in [0..35]]; // Vincenzo Librandi, Jul 30 2011
(PARI) a(n)=(10*n+2)^2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved