login
A115934
Numbers k such that k^4 contains a pandigital substring.
5
767, 1839, 1975, 2358, 2813, 3089, 3495, 3824, 4052, 5596, 5877, 6292, 6311, 6386, 6633, 6666, 6839, 6886, 7142, 7670, 8007, 8241, 9396, 9796, 10817, 10839, 11076, 11644, 14675, 15069, 15198, 15923, 16611, 16615, 16894, 17179, 17269, 17751
OFFSET
1,1
EXAMPLE
6666^4 = 7197(4518637029)136.
PROG
(Python)
def haspan(s): return any(len(set(s[i:i+10]))==10 for i in range(len(s)-9))
print([m for m in range(20000) if haspan(str(m**4))]) # Michael S. Branicky, Feb 28 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
STATUS
approved