This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A116165 #30 Nov 21 2024 14:51:00 %S A116165 0,14,294,4116,48020,504210,4941258,46118408,415065672,3631824630, %T A116165 31072277390,261007130076,2159240803356,17633799894074, %U A116165 142426845298290,1139414762386320,9039357114931472,71184937280085342,556917450485373558 %N A116165 a(n) = 7^n * n*(n+1). %H A116165 Vincenzo Librandi, <a href="/A116165/b116165.txt">Table of n, a(n) for n = 0..1000</a> %H A116165 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (21,-147,343). %F A116165 G.f.: 14*x/(1-7*x)^3. - _Vincenzo Librandi_, Feb 28 2013 %F A116165 a(n) = 21*a(n-1) - 147*a(n-2) + 343*a(n-3). - _Vincenzo Librandi_, Feb 28 2013 %F A116165 a(n+1) = 14*A027474(n+2). - _Bruno Berselli_, Feb 28 2013 %F A116165 E.g.f.: 7*x*(2 + 7*x)*exp(7*x). - _G. C. Greubel_, May 11 2019 %F A116165 From _Amiram Eldar_, Jul 20 2020: (Start) %F A116165 Sum_{n>=1} 1/a(n) = 1 - 6*log(7/6). %F A116165 Sum_{n>=1} (-1)^(n+1)/a(n) = 8*log(8/7) - 1. (End) %t A116165 Table[(n^2 + n) 7^n, {n, 0, 30}] (* _Vincenzo Librandi_, Feb 28 2013 *) %o A116165 (Magma) [(n^2+n)*7^n: n in [0..30]]; // _Vincenzo Librandi_, Feb 28 2013 %o A116165 (Magma) I:=[0,14,294]; [n le 3 select I[n] else 21*Self(n-1)-147*Self(n-2)+343*Self(n-3): n in [1..30]]; // _Vincenzo Librandi_, Feb 28 2013 %o A116165 (PARI) a(n)=(n^2+n)*7^n \\ _Charles R Greathouse IV_, Feb 28 2013 %o A116165 (Sage) [7^n*n*(n+1) for n in (0..30)] # _G. C. Greubel_, May 11 2019 %o A116165 (GAP) List([0..30], n-> 7^n*n*(n+1)); # _G. C. Greubel_, May 11 2019 %Y A116165 Cf. A007758, A036289, A027474, A128796. %K A116165 nonn,easy %O A116165 0,2 %A A116165 _Mohammad K. Azarian_, Apr 08 2007