OFFSET
1,1
COMMENTS
Central terms of the triangle in A125199.
Sequence found by reading the line from 2, in the direction 2, 19, ..., in the square spiral whose vertices are the triangular numbers A000217. - Omar E. Pol, Sep 05 2011
LINKS
Arkadiusz Wesolowski, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 1 + A051870(n). - Omar E. Pol, Sep 05 2011
From Arkadiusz Wesolowski, Dec 25 2011: (Start)
a(1) = 2, a(n) = a(n-1) + 16*n - 15.
a(n) = 2*a(n-1) - a(n-2) + 16 with a(1) = 2 and a(2) = 19.
G.f.: (1 - x + 16*x^2)/(1 - x)^3. (End)
Sum_{n>=1} 1/a(n) = (psi(9/16+sqrt(17)/16) - psi(9/16-sqrt(17)/16))/sqrt(17) = 0.61242052... - R. J. Mathar, Apr 22 2024
From Elmo R. Oliveira, Oct 31 2024: (Start)
E.g.f.: exp(x)*(8*x^2 + x + 1) - 1.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 3. (End)
MATHEMATICA
Table[8*n^2 - 7*n + 1, {n, 44}] (* Arkadiusz Wesolowski, Feb 15 2012 *)
PROG
(Magma) [8*n^2-7*n+1:n in [1..44]]; // Vincenzo Librandi, Dec 27 2010
(PARI) a(n)=8*n^2-7*n+1 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Nov 24 2006
STATUS
approved