cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A244008 Nonnegative integers with no repeated letters in their combined English decimal digit names.

Original entry on oeis.org

0, 1, 2, 4, 5, 6, 8, 16, 25, 26, 46, 48, 52, 60, 61, 62, 64, 84
Offset: 1

Views

Author

Rick L. Shepherd, Jun 17 2014

Keywords

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.
		

Crossrefs

Subsequence of A010784, A052405, A052419, and A007095.
Cf. A059916.

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