login
A182766
Beatty sequence for 5 - 2*sqrt(2).
2
2, 4, 6, 8, 10, 13, 15, 17, 19, 21, 23, 26, 28, 30, 32, 34, 36, 39, 41, 43, 45, 47, 49, 52, 54, 56, 58, 60, 62, 65, 67, 69, 71, 73, 76, 78, 80, 82, 84, 86, 89, 91, 93, 95, 97, 99, 102, 104, 106, 108, 110, 112, 115, 117, 119, 121, 123, 125, 128, 130, 132, 134, 136, 138, 141, 143, 145, 147, 149, 152, 154, 156, 158, 160, 162, 165, 167
OFFSET
1,1
COMMENTS
Let u=(1+sqrt(2))/2 and v=sqrt(2). Jointly rank {ju} and {kv} as in the first comment at A182760; a(n) is the position of nv. A182766 is the complement of A182765.
FORMULA
a(n) = floor(s*n), where s = 5 - 2*sqrt(2).
MATHEMATICA
Table[Floor[n*(5 - 2*Sqrt[2])], {n, 1, 100}] (* G. C. Greubel, Aug 18 2018 *)
PROG
(Magma) [Floor(n*(5-2*Sqrt(2))): n in [1..80]]; // Vincenzo Librandi, Oct 25 2011
(PARI) vector(100, n, floor(n*(5-2*sqrt(2)))) \\ G. C. Greubel, Aug 18 2018
CROSSREFS
Sequence in context: A085884 A246404 A246408 * A329828 A172278 A276383
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 29 2010
STATUS
approved