login
A247756
Numbers in decimal representation, such that in Hungarian their digits are in alphabetic order.
17
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 25, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 44, 45, 48, 55, 60, 62, 64, 65, 66, 67, 68, 69, 70, 72, 74, 75, 77, 78, 79, 85, 88, 90, 94, 95, 98, 99, 100, 105, 108, 110
OFFSET
1,3
COMMENTS
List of decimal digits, alphabetically sorted by their names in Hungarian:
1 _ egy, 3 _ három, 6 _ hat, 7 _ hét, 2 _ kettő, 9 _ kilenc, 4 _ négy, 0 _ nulla, 8 _ nyolc, 5 _ öt.
a(127748) = A247806(1020) = 1367294085 is the greatest term not containing any repeating digits.
PROG
(Haskell)
import Data.IntSet (fromList, deleteFindMin, union)
a247756 n = a247756_list !! (n-1)
a247756_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 = [1, 3, 6, 7, 2, 9, 4, 0, 8, 5]
CROSSREFS
Cf. A247806 (subsequence).
Cf. A247750 (Czech), A247751 (Danish), A247752 (Dutch), A053432 (English), A247753 (Finnish), A247754 (French), A247755 (German), A247757 (Italian), A247758 (Latin), A247759 (Norwegian), A247760 (Polish), A247757 (Portuguese), A247761 (Russian), A247762 (Slovak), A161390 (Spanish), A247759 (Swedish), A247764 (Turkish).
Sequence in context: A138234 A324720 A374847 * A375758 A032520 A034837
KEYWORD
nonn,base,word
AUTHOR
Reinhard Zumkeller, Oct 05 2014
STATUS
approved