1,1

Table of n, a(n) for n=1..96.

Let s(n)=i(n)+r*j(n) be the sequence obtained by arranging in increasing order all the numbers i+j*r, where

r=2^(1/2) and i>=0, j>=0. Then

a(n)=1 if i(n) is odd and j(n) is odd (n in A184399);

a(n)=2 if i(n) is odd and j(n) is even (n in A184400);

a(n)=3 if i(n) is even and j(n) is odd (n in A184401);

a(n)=4 if i(n) is even and j(n) is even (n in A184402).

(See the examples at A184399-A184402.)

Cf. A183993, A184338, A184397, A184398, A184399, A184400, A184401, A184402.

Sequence in context: A118945 A016692 A183993 * A198120 A001390 A180343

Adjacent sequences: A184400 A184401 A184402 * A184404 A184405 A184406

nonn

Clark Kimberling, Jan 12 2011

approved