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.

A247759 Numbers in decimal representation, such that in Norwegian and Swedish 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, 15, 16, 17, 19, 22, 23, 33, 40, 42, 43, 44, 46, 47, 49, 50, 52, 53, 54, 55, 56, 57, 59, 62, 63, 66, 67, 69, 72, 73, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 92, 93, 99, 100, 102, 103, 106, 107, 109
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 05 2014

Keywords

Comments

List of decimal digits, alphabetically sorted by their names in Norwegian resp. Swedish: 8 åtte åtta, 1 en/ett en/ett, 5 fem fem, 4 fire fyra, 0 null noll, 6 seks sex, 7 syv/sju sju, 9 ti tio, 2 to två, 3 tre tre;
a(141973) = A247809(992) = 8154067923 is the greatest term not containing any repeating digits.

Crossrefs

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

Programs

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