A110118 a(n) = floor(n*(sqrt(6) + sqrt(2) + 2)/4).
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
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
- Eric Weisstein's World of Mathematics, Beatty Sequence
- Index entries for sequences related to Beatty sequences
Crossrefs
Cf. A110119.
Programs
-
Magma
[Floor(n*(Sqrt(6) + Sqrt(2) + 2)/4): n in [1..100]]; // G. C. Greubel, Mar 27 2018
-
Mathematica
With[{c = (Sqrt[2] + Sqrt[6] + 2)/4}, Floor[c*Range[100]]] (* G. C. Greubel, Mar 27 2018 *)
-
PARI
for(n=1,100, print1(floor(n*(sqrt(6) + sqrt(2) + 2)/4), ", ")) \\ G. C. Greubel, Mar 27 2018
Comments