%I #18 Sep 08 2022 08:45:50
%S 1,17,43,79,125,181,247,323,409,505,611,727,853,989,1135,1291,1457,
%T 1633,1819,2015,2221,2437,2663,2899,3145,3401,3667,3943,4229,4525,
%U 4831,5147,5473,5809,6155,6511,6877,7253,7639,8035,8441,8857,9283,9719,10165
%N 5*n^2+11*n+1.
%H Vincenzo Librandi, <a href="/A172044/b172044.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F a(n)= +3*a(n-1) -3*a(n-2) +a(n-3). G.f.: (-1-14*x+5*x^2)/(x-1)^3. - _R. J. Mathar_, Jan 04 2011
%t Table[5 n^2 + 11 n + 1, {n, 0, 30}] (* or *) CoefficientList[Series[(-1 - 14 x + 5 x^2)/(x - 1)^3, {x, 0, 30}], x] (* _Vincenzo Librandi_, Aug 20 2014 *)
%o (Magma) [5*n^2+11*n+1: n in [0..50]]; // _Vincenzo Librandi_, Aug 20 2014
%o (PARI) a(n)=5*n^2+11*n+1 \\ _Charles R Greathouse IV_, Jun 17 2017
%K nonn,easy
%O 0,2
%A _Vincenzo Librandi_, Jan 29 2010
|