login
A115935
Numbers k such that 2^k contains a pandigital substring.
6
105, 136, 137, 237, 268, 275, 336, 397, 409, 418, 423, 426, 456, 457, 486, 530, 540, 541, 585, 620, 674, 675, 693, 727, 787, 791, 792, 809, 831, 848, 853, 864, 881, 936, 939, 945, 946, 955, 967, 974, 983, 1001, 1011, 1020, 1022, 1024, 1029, 1050, 1064
OFFSET
1,1
COMMENTS
Does a(n) ~ n? - David A. Corneth, Feb 28 2021
LINKS
David A. Corneth, PARI program
EXAMPLE
2^105 = 40(5648192073)03340847894502572032.
PROG
(PARI) See PARI link \\ David A. Corneth, Feb 28 2021
(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(1065) if haspan(str(2**m))]) # Michael S. Branicky, Feb 28 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
STATUS
approved