OFFSET
1,1
COMMENTS
Let u=1+sqrt(2) and v=sqrt(2). Jointly rank {j*u} and {k*v} as in the first comment at A182760; a(n) is the position of n*u.
Is this a shifted version of A126281? - R. J. Mathar, Jan 24 2011
The answer to R. J. Mathar's question is no: A126281 contains 65 while this sequence does not. - L. Edson Jeffery, Sep 02 2014
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(n*(4 + sqrt(2))/2).
MATHEMATICA
Table[Floor[n*(4 + Sqrt[2])/2], {n, 1, 100}] (* G. C. Greubel, Jan 27 2018 *)
PROG
(PARI) a(n) = floor(n*(4+sqrt(2))/2); \\ Michel Marcus, Sep 02 2014
(Magma) [Floor(n*(4 + Sqrt(2))/2): n in [1..50]]; // G. C. Greubel, Jan 27 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 30 2010
STATUS
approved