OFFSET
1,3
COMMENTS
Every positive integer occurs exactly twice. a(n) is the parent of n in the tree A178528 generated by the Beatty sequence of sqrt(3).
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
N:= 100: # to get a(1)..a(N)
for j from 1 do m:= floor(j*sqrt(3)); if m > N then break fi; A[m]:= j od:
for k from 1 do m:= floor(k/2*(3+sqrt(3))); if m > N then break fi; A[m]:= k od:
seq(A[i], i=1..N); # Robert Israel, Jan 08 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Comment by Clark Kimberling, Dec 24 2010
STATUS
approved