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 A108589 #27 Feb 16 2025 08:32:58 %S A108589 2,5,8,11,13,16,19,22,24,27,30,33,35,38,41,44,46,49,52,55,57,60,63,66, %T A108589 68,71,74,77,79,82,85,88,90,93,96,99,101,104,107,110,112,115,118,121, %U A108589 123,126,129,132,134,137,140,143,145,148,151,154,156,159,162,165,167 %N A108589 a(n) = floor(n*Pi/(Pi-2)). %C A108589 Beatty sequence for Pi/(Pi-2); complement of A140758. %H A108589 Vincenzo Librandi, <a href="/A108589/b108589.txt">Table of n, a(n) for n = 1..7000</a> %H A108589 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/BeattySequence.html">Beatty Sequence</a> %H A108589 <a href="/index/Be#Beatty">Index entries for sequences related to Beatty sequences</a> %p A108589 A108589:=n->floor(n*Pi/(Pi-2)); seq(A108589(n), n=1..50); # _Wesley Ivan Hurt_, Apr 19 2014 %t A108589 With[{c=Pi/(Pi-2)},Floor[c*Range[70]]] (* _Harvey P. Dale_, Apr 19 2014 *) %o A108589 (Magma) R:= RealField(40); [Floor(n*Pi(R)/(Pi(R)-2)): n in [1..60]]; // _G. C. Greubel_, Oct 21 2023 %o A108589 (SageMath) [floor(n*pi/(pi-2)) for n in range(1,61)] # _G. C. Greubel_, Oct 21 2023 %Y A108589 Cf. A054386, A108586, A108590, A140758. %K A108589 nonn,easy %O A108589 1,1 %A A108589 _Reinhard Zumkeller_, Jun 11 2005