A244008 Nonnegative integers with no repeated letters in their combined English decimal digit names.
0, 1, 2, 4, 5, 6, 8, 16, 25, 26, 46, 48, 52, 60, 61, 62, 64, 84
Offset: 1
Examples
The first multi-digit term is 16 since "one" and "six" taken together contain no duplicate letters. Although "one" itself contains no duplicate letters, by definition 11 is not a term since duplicate digits introduce repeated letters.
Programs
-
PARI
is(n)=my(d=apply(k->[25,9,40,64,26,7,4,64,37,64][k+1], digits(n)),t); for(i=1,#d, if(bitand(t,d[i]), return(0)); t=bitor(t,d[i])); t<64 \\ Charles R Greathouse IV, Aug 18 2022
-
Python
m = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"] def nr(w): return len(w) == len(set(w)) afull = [k for k in range(988) if nr("".join(m[int(d)] for d in str(k)))] print(afull) # Michael S. Branicky, Aug 18 2022