login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = floor(n^sqrt(2*Pi)).
1

%I #17 Sep 25 2024 09:25:45

%S 1,5,15,32,56,89,131,183,246,321,407,507,619,746,887,1042,1214,1401,

%T 1604,1824,2062,2317,2590,2881,3192,3522,3871,4241,4631,5041,5473,

%U 5927,6402,6899,7420,7962

%N a(n) = floor(n^sqrt(2*Pi)).

%H G. C. Greubel, <a href="/A134887/b134887.txt">Table of n, a(n) for n = 1..10000</a>

%t Floor[Range[40]^Sqrt[2 Pi]] (* _Harvey P. Dale_, Jun 28 2017 *)

%o (PARI) a(n) = floor(n^(sqrt(2*Pi))) \\ _Michel Marcus_, Jul 18 2013

%o (Magma) R:=RealField(10); [Floor(n^Sqrt(2*Pi(R))): n in [1..50]]; // _G. C. Greubel_, Oct 02 2018

%Y Cf. A019727 (sqrt(2*Pi)).

%K nonn

%O 1,2

%A _Rolf Pleisch_, Jan 29 2008