cp's OEIS Frontend

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.

A240571 a(n) = round(n^n/n!) where round(1/2)=0.

This page as a plain text file.
%I A240571 #28 Jan 12 2025 14:26:58
%S A240571 1,1,2,4,11,26,65,163,416,1068,2756,7148,18614,48639,127463,334865,
%T A240571 881658,2325751,6145597,16263866,43099804,114356611,303761260,
%U A240571 807692035,2149632061,5726042115,15264691107,40722913454,108713644516,290404350963,776207020880
%N A240571 a(n) = round(n^n/n!) where round(1/2)=0.
%C A240571 We have two versions of this sequence, this and A235496, because there is no universal agreement on how to round a number like 9/2. - _N. J. A. Sloane_, Dec 13 2015
%C A240571 According to Stirling's asymptotic formula for n!, we have lim_{n->infinity} a(n+1)/a(n) = e.
%F A240571 For n>=1, round(A000312(n)/A000142(n)).
%t A240571 Table[Round[n^n/n!], {n, 30}] (* _Wesley Ivan Hurt_, Apr 08 2014 *)
%Y A240571 Cf. A000142, A000312.
%Y A240571 Essentially the same as A235496. - _Altug Alkan_, Dec 13 2015
%K A240571 nonn,easy
%O A240571 0,3
%A A240571 _Vladimir Shevelev_, Apr 08 2014
%E A240571 Name clarified by _Sean A. Irvine_, Jan 12 2025