login
A247753
Numbers in decimal representation, such that in Finnish their digits are in alphabetic order.
17
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 33, 34, 35, 36, 37, 39, 40, 41, 44, 45, 47, 49, 51, 55, 59, 60, 61, 64, 65, 66, 67, 69, 71, 75, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 99, 111, 200, 201, 205, 207, 209
OFFSET
1,3
COMMENTS
List of decimal digits, alphabetically sorted by their names in Finnish:
8 _ kahdeksan, 2 _ kaksi, 3 _ kolme, 6 _ kuusi, 4 _ neljä, 0 _ nolla, 7 _ seitsemän, 5 _ viisi, 9 _ yhdeksän, 1 _ yksi;
a(143982) = A247803(1008) = 8236407591 is the greatest term not containing any repeating digits.
PROG
(Haskell)
import Data.IntSet (fromList, deleteFindMin, union)
a247753 n = a247753_list !! (n-1)
a247753_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, 2, 3, 6, 4, 0, 7, 5, 9, 1]
CROSSREFS
Cf. A247803 (subsequence).
Cf. A247750 (Czech), A247751 (Danish), A247752 (Dutch), A053432 (English), A247754 (French), A247755 (German), A247756 (Hungarian), A247757 (Italian), A247758 (Latin), A247759 (Norwegian), A247760 (Polish), A247757 (Portuguese), A247761 (Russian), A247762 (Slovak), A161390 (Spanish), A247759 (Swedish), A247764 (Turkish).
Sequence in context: A033074 A067451 A344749 * A267771 A275513 A336668
KEYWORD
nonn,base,word
AUTHOR
Reinhard Zumkeller, Oct 05 2014
STATUS
approved