Numbers with same digit set in base 10 and base 16: Difference between revisions
Numbers with same digit set in base 10 and base 16 (view source)
Revision as of 01:52, 7 June 2021
, 2 years ago→{{header|Julia}}
Line 115:
d = digits(i)
dlen = length(unique(d))
for j in
Combinatorics.with_replacement_combinations(d, j)), p in permutations(c)
if evalpoly(16, p) == i && (length(p) == 1 || p[end] != 0 || count(x -> x == 0, p) > 1)
|