|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
2^105 = 40(5648192073)03340847894502572032.
|
|
PROG
|
(Python)
def haspan(s): return any(len(set(s[i:i+10]))==10 for i in range(len(s)-9))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|