A172269 a(n) = floor(n*(sqrt(7)-sqrt(2))).
0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 20, 22, 23, 24, 25, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 59, 60, 61, 62, 64, 65, 66, 67, 68, 70, 71, 72, 73, 75, 76, 77, 78, 80, 81, 82, 83, 84, 86, 87
Offset: 0
Links
Programs
-
Magma
[Floor(n*(Sqrt(7)-Sqrt(2))): n in [0..80]]; // Vincenzo Librandi, Aug 01 2013
-
Mathematica
With[{c = Sqrt[7] - Sqrt[2]}, Floor[c Range[0, 80]]] (* Vincenzo Librandi, Aug 01 2013 *)
-
PARI
vector(100,n,n--; floor(n*(sqrt(7)-sqrt(2)))) \\ G. C. Greubel, Aug 17 2018