editing
proposed
editing
proposed
Exponents of powers of k that contain all ten decimal digits: A236673 (k=3).
Seiichi Manyama, <a href="/A090493/b090493_1.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..1000 from T. D. Noe)
T. D. Noe, Seiichi Manyama, <a href="/A090493/b090493_1.txt">Table of n, a(n) for n = 1..100010000</a>
approved
editing
(Python2.7)
def A320572(n):
if not(10 ** int(round(math.log(n, 10), 0)) == n):
set = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
a=0
while set:
a=a+1
m=int(math.pow(n, a))
m_set=map(int, str(m))
for x in m_set:
if x in set:
set.remove(x)
return a
else:
return 0
# Benjamin Knight, Nov 20 2018
proposed
approved
editing
proposed
editing
proposed