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 A015506 #13 Apr 30 2023 02:06:17 %S A015506 1,1,7,224,35168,27501376,107447876032,2098671914657024, %T A015506 204950003169660992768,100073397447688408870744576, %U A015506 244319893042568615235897903058432,2982420752607212448380293251367177293824 %N A015506 a(1) = 1, a(n) = Sum_{k=1}^{n-1} (5^k - 1)/4 a(k). %H A015506 G. C. Greubel, <a href="/A015506/b015506.txt">Table of n, a(n) for n = 1..50</a> %F A015506 a(n) = ((5^(n-1) + 3)/4) * a(n-1). - _Vincenzo Librandi_, Nov 12 2012 %t A015506 a[n_, m_]:= a[n, m]= If[n<3, 1, (m^(n-1)+m-2)*a[n-1,m]/(m-1)]; %t A015506 Table[a[n, 5], {n, 20}] (* _G. C. Greubel_, Apr 29 2023 *) %o A015506 (Magma) [n le 2 select 1 else ((5^(n-1)+3)/4)*Self(n-1): n in [1..15]]; // _Vincenzo Librandi_, Nov 12 2012 %o A015506 (SageMath) %o A015506 @CachedFunction # a = A015506 %o A015506 def a(n,m): return 1 if (n<3) else (m^(n-1) + m-2)*a(n-1,m)/(m-1) %o A015506 [a(n,5) for n in range(1,31)] # _G. C. Greubel_, Apr 29 2023 %Y A015506 Sequences with the recurrence a(n) = (m^(n-1) + m-2)*a(n-1)/(m-1): A036442 (m=2), A015502 (m=3), A015503 (m=4), this sequence (m=5), A015507 (m=6), A015508 (m=7), A015509 (m=8), A015511 (m=9), A015512 (m=10), A015513 (m=11), A015515 (m=12). %K A015506 nonn,easy %O A015506 1,3 %A A015506 _Olivier Gérard_