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.

A161390 Numbers with digits in alphabetical order (in Spanish).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 21, 22, 23, 26, 27, 28, 29, 31, 33, 41, 42, 43, 44, 46, 47, 48, 49, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 63, 66, 67, 71, 73, 77, 81, 83, 86, 87, 88, 91, 93, 96, 97, 98, 99, 111, 211
Offset: 1

Views

Author

Claudio Meller, Jun 08 2009

Keywords

Comments

List of decimal digits, alphabetically sorted by their names in Spanish:
0 cero, 5 cinco, 4 cuatro, 2 dos, 9 nueve, 8 ocho, 6 seis, 7 siete, 3 tres, 1 uno/una. - Reinhard Zumkeller, Oct 05 2014
a(36233) = A247813(512) = 542986731 is the greatest term not containing any repeating digits. - Reinhard Zumkeller, Oct 05 2014

Crossrefs

Cf. A247813 (subsequence).
Cf. A247750 (Czech), A247751 (Danish), A247752 (Dutch), A053432 (English), A247753 (Finnish), A247754 (French), A247755 (German), A247756 (Hungarian), A247757 (Italian), A247758 (Latin), A247759 (Norwegian), A247760 (Polish), A247757 (Portuguese), A247761 (Russian), A247762 (Slovak), A247759 (Swedish), A247764 (Turkish).

Programs

  • Haskell
    import Data.IntSet (fromList, deleteFindMin, union)
    a161390 n = a161390_list !! (n-1)
    a161390_list = 0 : f (fromList [1..9]) where
       f s = x : f (s' `union`
             fromList (map (+ 10 * x) $ dropWhile (/= mod x 10) digs))
         where (x, s') = deleteFindMin s
       digs = [0, 5, 4, 2, 9, 8, 6, 7, 3, 1]
    -- Reinhard Zumkeller, Oct 18 2014
  • Perl
    sub isA161390 {
      shift =~ m/^(0|5*4*2*9*8*6*7*3*1*)$/
    }