0,5

Let us call integers m and n collinear one to another if either A059905(m)=A059905(n) or A059906(m)=A059906(n). Then a(n) is the number of noncollinear to n nonnegative integers not exceeding n.

Table of n, a(n) for n=0..63.

Theorem: a(2n)=a(2n+1).

Cf. A000695, A054238, A059905, A059906.

Sequence in context: A145787 A096111 A101081 * A258186 A038716 A168659

Adjacent sequences: A147792 A147793 A147794 * A147796 A147797 A147798

nonn

Vladimir Shevelev, Nov 13 2008

More terms from Philippe Deléham, Oct 18 2011

approved