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.

A247764 Numbers in decimal representation, such that in Turkish their digits are in alphabetic order.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 18, 19, 20, 22, 23, 27, 28, 33, 37, 40, 42, 43, 44, 47, 48, 50, 51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 77, 80, 83, 87, 88, 90, 92, 93, 94, 97, 98, 99, 100, 103, 107, 110
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 05 2014

Keywords

Comments

List of decimal digits, alphabetically sorted by their names in Turkish:
6 altı, 5 beş, 1 bir, 9 dokuz, 4 dört, 2 iki, 8 sekiz, 0 sıfır, 3 üç, 7 yedi;
a(141728) = A247814(1020) = 6519428037 is the greatest term not containing any repeating digits.

Crossrefs

Cf. A247814 (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), A161390 (Spanish), A247759 (Swedish).

Programs

  • Haskell
    import Data.IntSet (fromList, deleteFindMin, union)
    a247764 n = a247764_list !! (n-1)
    a247764_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 = [6, 5, 1, 9, 4, 2, 8, 0, 3, 7]