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”).

A246172
a(n) = (n^2+9*n-8)/2.
4
1, 7, 14, 22, 31, 41, 52, 64, 77, 91, 106, 122, 139, 157, 176, 196, 217, 239, 262, 286, 311, 337, 364, 392, 421, 451, 482, 514, 547, 581, 616, 652, 689, 727, 766, 806, 847, 889, 932, 976, 1021, 1067, 1114, 1162, 1211, 1261, 1312, 1364, 1417, 1471
OFFSET
1,2
COMMENTS
a(n) - 7*(n-1) is a triangular number. Sequence gives positive x values solving the Diophantine equation y^2 - 8*x = 113. - Bruno Berselli, Aug 27 2014
FORMULA
G.f.: x*(1+4*x-4*x^2)/(1-x)^3.
a(n) = 3*a(n-1)-3*a(n-2)+a(n-3) = 2*a(n-1)-a(n-2)+1.
a(n+1) - a(n) = n + 5. - Jacques ALARDET, Aug 04 2015
Sum_{n>=1} 1/a(n) = 4919/8008 + 2*Pi*tan(sqrt(113)*Pi/2)/sqrt(113). - Amiram Eldar, Feb 25 2023
MATHEMATICA
Table[(n^2 + 9 n - 8)/2, {n, 1, 60}]
PROG
(Magma) [(n^2+9*n-8)/2: n in [1..60]];
(Sage) [(n^2+9*n-8)/2 for n in (1..60)] # Bruno Berselli, Aug 27 2014
(PARI) a(n)=(n^2+9*n-8)/2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
Sequence in context: A018890 A118502 A190367 * A366112 A297426 A036556
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Aug 24 2014
STATUS
approved