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 A006594 M0947 #27 Aug 28 2025 10:24:11 %S A006594 1,2,4,5,6,8,9,10,12,13,15,16,17,19,20,21,23,24,25,27,28,30,31,32,34, %T A006594 35,36,38,39,41,42,43,45,46,47,49,50,51,53,54,56,57,58,60,61,62,64,65, %U A006594 67,68,69,71,72,73,75,76,77,79,80,82,83,84,86,87,88,90,91,93,94,95,97 %N A006594 A Beatty sequence: floor(n*(1 + 1/e)). %D A006594 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). %H A006594 G. C. Greubel, <a href="/A006594/b006594.txt">Table of n, a(n) for n = 1..10000</a> %H A006594 I. G. Connell, <a href="http://dx.doi.org/10.4153/CMB-1960-004-2">Some properties of Beatty sequences II</a>, Canad. Math. Bull., 3 (1960), 17-22. %H A006594 <a href="/index/Be#Beatty">Index entries for sequences related to Beatty sequences</a> %t A006594 Table[Floor[n(1+1/E)],{n,80}] (* _Harvey P. Dale_, Dec 05 2016 *) %o A006594 (Magma) %o A006594 A006594:= func< n | Floor(n*(1+Exp(-1))) >; %o A006594 [A006594(n): n in [1..100]]; // _G. C. Greubel_, Aug 28 2025 %o A006594 (SageMath) %o A006594 def A006594(n): return floor(n*(1+exp(-1))) %o A006594 print([A006594(n) for n in range(1,101)]) # _G. C. Greubel_, Aug 28 2025 %Y A006594 Cf. A000572. %K A006594 nonn,changed %O A006594 1,2 %A A006594 _N. J. A. Sloane_ %E A006594 More terms from Larry Reeves (larryr(AT)acm.org), Feb 07 2001