OFFSET
1,1
COMMENTS
In case of a tie, choose the smaller integer.
EXAMPLE
PROG
(Python)
def b():
..n = 1
..k = 1
..while k < 50000:
....st = str(2**k)
....if len(st) >= n:
......for a in range(10):
........count = 0
........for i in range(len(st)):
..........if st[i] == str(a):
............count += 1
........if count == n:
..........print(a, end=', ')
..........n += 1
..........k = 0
..........break
......k += 1
....else:
......k += 1
b()
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Derek Orr, Jun 16 2014
STATUS
approved