login
A110118
a(n) = floor(n*(sqrt(6) + sqrt(2) + 2)/4).
5
1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 21, 23, 24, 26, 27, 29, 30, 32, 33, 35, 36, 38, 39, 41, 42, 43, 45, 46, 48, 49, 51, 52, 54, 55, 57, 58, 60, 61, 63, 64, 65, 67, 68, 70, 71, 73, 74, 76, 77, 79, 80, 82, 83, 85, 86, 87, 89, 90, 92, 93, 95, 96, 98, 99, 101, 102
OFFSET
1,2
COMMENTS
Beatty sequence for (sqrt(6)+sqrt(2)+2)/4 = 1.465925826289...; complement of A110117.
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
Cf. A110119.
Sequence in context: A286355 A292665 A240977 * A138251 A054386 A127450
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 13 2005
STATUS
approved