login
A247751
Numbers in decimal representation, such that in Danish their digits are in alphabetic order.
20
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 22, 23, 33, 40, 42, 43, 44, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 62, 63, 66, 67, 72, 73, 77, 82, 83, 86, 87, 88, 90, 92, 93, 96, 97, 98, 99, 100, 102, 103, 106, 107, 108
OFFSET
1,3
COMMENTS
List of decimal digits, alphabetically sorted by their names in Danish:
1 _ en/et, 5 _ fem, 4 _ fire, 9 _ ni, 0 _ nul, 8 _ otte, 6 _ seks, 7 _ syv, 2 _ to, 3 _ tre;
a(124929) = A247801(992) = 1549086723 is the greatest term not containing any repeating digits.
PROG
(Haskell)
import Data.IntSet (fromList, deleteFindMin, union)
a247751 n = a247751_list !! (n-1)
a247751_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, 5, 4, 9, 0, 8, 6, 7, 2, 3]
CROSSREFS
Cf. A247801 (subsequence).
Cf. A247750 (Czech), 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), A247764 (Turkish).
Sequence in context: A275776 A022465 A296762 * A059962 A057605 A326872
KEYWORD
nonn,base,word
AUTHOR
Reinhard Zumkeller, Oct 05 2014
STATUS
approved