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.

A038126 a(n) = floor( sqrt(2*Pi)*n ) (a Beatty sequence).

This page as a plain text file.
%I A038126 #27 Feb 16 2025 08:32:37
%S A038126 0,2,5,7,10,12,15,17,20,22,25,27,30,32,35,37,40,42,45,47,50,52,55,57,
%T A038126 60,62,65,67,70,72,75,77,80,82,85,87,90,92,95,97,100,102,105,107,110,
%U A038126 112,115,117,120,122,125,127,130,132,135,137,140,142,145,147,150,152,155,157
%N A038126 a(n) = floor( sqrt(2*Pi)*n ) (a Beatty sequence).
%C A038126 Of course this is different from A047215 (they first differ at n=77).
%H A038126 G. C. Greubel, <a href="/A038126/b038126.txt">Table of n, a(n) for n = 0..10000</a>
%H A038126 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/BeattySequence.html">Beatty Sequence</a>.
%H A038126 <a href="/index/Be#Beatty">Index entries for sequences related to Beatty sequences</a>.
%t A038126 With[{c=Sqrt[2*Pi]},Floor[c*#]&/@Range[0,70]] (* _Harvey P. Dale_, Nov 14 2014 *)
%o A038126 (PARI) vector(100, n, n--; floor(n*sqrt(2*Pi))) \\ _G. C. Greubel_, Sep 08 2018
%o A038126 (Magma) R:= RealField(20); [Floor(n*Sqrt(2*Pi(R))): n in [0..100]]; // _G. C. Greubel_, Sep 08 2018
%Y A038126 Cf. A019727, A047215.
%K A038126 nonn
%O A038126 0,2
%A A038126 _N. J. A. Sloane_, _Felice Russo_