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 A164016 #19 Sep 08 2017 03:07:33 %S A164016 6,42,114,222,366,546,762,1014,1302,1626,1986,2382,2814,3282,3786, %T A164016 4326,4902,5514,6162,6846,7566,8322,9114,9942,10806,11706,12642,13614, %U A164016 14622,15666,16746,17862,19014,20202,21426,22686,23982,25314 %N A164016 6 times centered hexagonal numbers: 18*n*(n+1) + 6. %H A164016 Harvey P. Dale, <a href="/A164016/b164016.txt">Table of n, a(n) for n = 0..1000</a> %H A164016 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1). %F A164016 a(n) = A003215(n)*6. %F A164016 a(n) = a(n-1) + 36*n (with a(0)=6). - _Vincenzo Librandi_, Nov 30 2010 %F A164016 a(n) = 3*a(n-1)-3*a(n-2)+a(n-3) with a(0)=6, a(1)=42, a(2)=114. - _Harvey P. Dale_, Dec 16 2012 %F A164016 From _G. C. Greubel_, Sep 07 2017: (Start) %F A164016 G.f.: 6*(1 + 4*x + x^2)/(1 - x)^3. %F A164016 E.g.f.: 6*(1 + 6*x + 3*x^2)*exp(x). (End) %t A164016 Table[18n(n+1)+6,{n,0,40}] (* or *) LinearRecurrence[{3,-3,1},{6,42,114},40] (* _Harvey P. Dale_, Dec 16 2012 *) %o A164016 (PARI) a(n)=18*n*(n+1)+6 \\ _Charles R Greathouse IV_, Jul 17 2011 %Y A164016 Cf. A003215, A152746, A164013, A108099, A164015. %K A164016 easy,nonn %O A164016 0,1 %A A164016 _Omar E. Pol_, Nov 07 2009