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 A048504 #17 Sep 08 2022 08:44:57 %S A048504 1,2,7,28,101,326,967,2696,7177,18442,46091,112652,270349,638990, %T A048504 1490959,3440656,7864337,17825810,40108051,89653268,199229461, %U A048504 440401942,968884247,2122317848,4630511641 %N A048504 a(n) = T(n,n), array T given by A048494. %H A048504 Vincenzo Librandi, <a href="/A048504/b048504.txt">Table of n, a(n) for n = 0..2000</a> %H A048504 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (8, -25, 38, -28, 8). %F A048504 a(n) = n*(n-1)*2^(n-1) + n + 1. - _Ralf Stephan_, Jan 15 2004 %F A048504 G.f.: (-1 - 4*x^4 + 16*x^3 - 16*x^2 + 6*x)/((x-1)^2*(2*x-1)^3). - Maksym Voznyy (voznyy(AT)mail.ru), Aug 13 2009 %t A048504 Table[n(n-1)2^(n-1)+n+1,{n,0,30}] (* or *) LinearRecurrence[{8,-25,38,-28,8},{1,2,7,28,101},30] (* _Harvey P. Dale_, Jul 29 2021 *) %o A048504 (Magma) [n*(n-1)*2^(n-1) + n + 1 : n in [0..30]]; // _Vincenzo Librandi_, Sep 25 2011 %K A048504 nonn,easy %O A048504 0,2 %A A048504 _Clark Kimberling_