A341239 a(n) = floor(r*floor(s*n)), where r = 1 + sqrt(2) and s = sqrt(2).
2, 4, 9, 12, 16, 19, 21, 26, 28, 33, 36, 38, 43, 45, 50, 53, 57, 60, 62, 67, 70, 74, 77, 79, 84, 86, 91, 94, 98, 101, 103, 108, 111, 115, 118, 120, 125, 127, 132, 135, 137, 142, 144, 149, 152, 156, 159, 161, 166, 168, 173, 176, 178, 183, 185, 190, 193, 197
Offset: 1
Keywords
Programs
-
Mathematica
z = 140; r = 1 + Sqrt[2]; s = Sqrt[2]; f[x_] := Floor[r*Floor[s*x]]; Table[f[n], {n, 1, z}]
Formula
a(n) = floor(r*floor(s*n)), where r = 1 + sqrt(2) and s = sqrt(2).
Comments