OFFSET
0,3
COMMENTS
The digit occurring n times in a smaller power of n than any other digit. In case of a tie the smallest digit is chosen. For example, a(2) = 5 for 2^16 = 65536. - Jens Kruse Andersen, Aug 01 2014
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 0..1000
PROG
(Python)
def a(n):
..b = '0123456789'
..for k in range(10**4):
....s = str(n**k)
....for i in b:
......if s.count(i) >= n:
........return int(i)
n = 0
while n < 150:
..print(a(n), end=', ')
..n += 1
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Derek Orr, Jul 30 2014
STATUS
approved