0,3

a(101)=1 and A054054(101)=0, but all previous terms are equivalent.

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

a(12)=1 because 1, 2, the digits of 12, each occur the same number of times and 1 is the smaller of the two modes.

a(101)=1 because 1 is the unique mode of 1, 0, 1 (occurring twice while 0 appears only once).

Cf. A054054 (Smallest digit of n).

Sequence in context: A085124 A252648 A054054 * A031298 A004428 A004429

Adjacent sequences: A115350 A115351 A115352 * A115354 A115355 A115356

base,nonn

Rick L. Shepherd, Jan 21 2006

approved