OFFSET
1,1
LINKS
FORMULA
a(1)=32, a(2)=125, a(3)=280, a(n)=3*a(n-1)-3*a(n-2)+a(n-3). - Harvey P. Dale, Apr 28 2016
MATHEMATICA
31*Range[100]^2+1 (* or *) LinearRecurrence[{3, -3, 1}, {32, 125, 280}, 100] (* Harvey P. Dale, Apr 28 2016 *)
PROG
IDLE - Python
(PARI) a(n)=31*n^2+1 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Garrett Backer, Nov 21 2014
STATUS
approved