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 A185308 #30 Oct 26 2024 21:17:45 %S A185308 0,0,1,2,7,18,61,188,677,2370,9141,35212,144905,602662,2631333, %T A185308 11671264,53772593,252184082,1220090757,6011588316,30413403457, %U A185308 156656758094,825751634149,4428857070312,24246896289889,134968323047690,765387626584805,4409532348872436 %N A185308 a(0)=0, a(1)=0; for n>1, a(n) = a(n-1) + n*a(n-2) + 1. %H A185308 Vincenzo Librandi, <a href="/A185308/b185308.txt">Table of n, a(n) for n = 0..200</a> %F A185308 a(0)=a(1)=0, a(2)=1, a(n) = 2*a(n-1)+(n-1)*a(n-2)-(n-1)*a(n-3). - _Vincenzo Librandi_, Dec 24 2012 %F A185308 a(n) ~ (sqrt(Pi)-sqrt(2))/2 * n^(n/2+1/2)*exp(sqrt(n)-n/2-1/4) * (1+19/(24*sqrt(n))). - _Vaclav Kotesovec_, Dec 26 2012 %F A185308 E.g.f.: 1/2*exp(x)*(exp(x^2/2)*(x+1)*(sqrt(2*Pi)*erf(x/sqrt(2))-2)+2). - _Vaclav Kotesovec_, Dec 27 2012 %t A185308 RecurrenceTable[{a[0] == 0, a[1] == 0, a[n] == a[n - 1] + n a[n - 2] + 1}, a, {n, 0, 30}] (* _Bruno Berselli_, Dec 24 2012 *) %t A185308 FullSimplify[CoefficientList[Series[1/2*E^x*(E^(x^2/2)*(x+1)*(Sqrt[2*Pi]*Erf[x/Sqrt[2]]-2)+2), {x, 0, 20}], x]* Range[0, 20]!] (* _Vaclav Kotesovec_, Dec 27 2012 *) %o A185308 (Magma) I:=[0,0,1,2]; [n le 4 select I[n] else 2*Self(n-1)+(n-2)*Self(n-2)-(n-2)*Self(n-3): n in [1..30]]; // _Vincenzo Librandi_, Dec 24 2012 %K A185308 nonn %O A185308 0,4 %A A185308 _Olivier Gérard_, Nov 02 2012 %E A185308 More terms from _Vincenzo Librandi_, Dec 24 2012 %E A185308 Edited by _Bruno Berselli_, Dec 24 2012