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 A120950 #19 Sep 08 2022 08:45:26 %S A120950 2,6,30,146,698,3358,16342,80298,397170,1972790,9824654,49005250, %T A120950 244672042,1222297422,6108298566,30531927002,152630937314, %U A120950 763068593254,3815084686078,19074648589554,95370918424986,476847618556286 %N A120950 3^n+5^n-2n. %H A120950 Vincenzo Librandi, <a href="/A120950/b120950.txt">Table of n, a(n) for n = 0..1000</a> %H A120950 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (10,-32,38,-15). %F A120950 G.f.: 2*(1-7*x+17*x^2-19*x^3)/((1-5*x)*(1-3*x)*(1-x)^2). - _Vincenzo Librandi_, Feb 26 2013 %t A120950 Table[3^n + 5^n - 2 n, {n, 0, 30}] (* or *) CoefficientList[Series[2 (1 - 7 x + 17 x^2 - 19 x^3)/((1 - 5 x) (1 - 3 x) (1 - x)^2), {x, 0, 30}], x] (* _Vincenzo Librandi_, Feb 26 2013 *) %t A120950 LinearRecurrence[{10,-32,38,-15},{2,6,30,146},30] (* _Harvey P. Dale_, Apr 27 2016 *) %o A120950 (Magma) [3^n+5^n-2*n: n in [0..30]]; // _Vincenzo Librandi_, Feb 27 2013 %Y A120950 Cf. A074606, A005058. %K A120950 nonn,easy %O A120950 0,1 %A A120950 _Mohammad K. Azarian_, Aug 19 2006 %E A120950 Edited by _Ray Chandler_, Sep 06 2006