OFFSET
1,2
COMMENTS
Beatty sequence for (sqrt(6)+sqrt(2)+2)/4 = 1.465925826289...; complement of A110117.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Beatty Sequence
MATHEMATICA
With[{c = (Sqrt[2] + Sqrt[6] + 2)/4}, Floor[c*Range[100]]] (* G. C. Greubel, Mar 27 2018 *)
PROG
(PARI) for(n=1, 100, print1(floor(n*(sqrt(6) + sqrt(2) + 2)/4), ", ")) \\ G. C. Greubel, Mar 27 2018
(Magma) [Floor(n*(Sqrt(6) + Sqrt(2) + 2)/4): n in [1..100]]; // G. C. Greubel, Mar 27 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 13 2005
STATUS
approved