login
Numbers in decimal representation, such that in Slovak their digits are in alphabetic order.
17

%I #11 Oct 18 2014 07:38:19

%S 0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,20,21,22,23,24,25,26,27,

%T 28,33,43,44,53,54,55,56,57,63,64,66,73,74,76,77,83,84,85,86,87,88,90,

%U 91,92,93,94,95,96,97,98,99,100,103,104,105,106,107,108

%N Numbers in decimal representation, such that in Slovak their digits are in alphabetic order.

%C List of decimal digits, alphabetically sorted by their names in Slovak:

%C 9 _ deväť, 2 _ dva/dvaja/dve, 1 _ jeden/jedna/jedno, 0 _ nula, 8 _ osem, 5 _ päť, 7 _ sedem, 6 _ šesť, 4 _ štyri /štyria, 3 _ tri/traja;

%C a(136584) = A247812(960) = 9210857643 is the greatest term not containing any repeating digits.

%H Reinhard Zumkeller, <a href="/A247762/b247762.txt">Table of n, a(n) for n = 1..10000</a>

%H Wikipedia, <a href="http://de.wikipedia.org/wiki/Zahlen_in_unterschiedlichen_Sprachen#0_bis_10">Zahlen in unterschiedlichen Sprachen</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/List_of_numbers_in_various_languages">List of numbers in various languages</a>

%o (Haskell)

%o import Data.IntSet (fromList, deleteFindMin, union)

%o a247762 n = a247762_list !! (n-1)

%o a247762_list = 0 : f (fromList [1..9]) where

%o f s = x : f (s' `union`

%o fromList (map (+ 10 * x) $ dropWhile (/= mod x 10) digs))

%o where (x, s') = deleteFindMin s

%o digs = [9, 2, 1, 0, 8, 5, 7, 6, 4, 3]

%Y Cf. A247812 (subsequence).

%Y 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), A161390 (Spanish), A247759 (Swedish), A247764 (Turkish).

%K nonn,base,word

%O 1,3

%A _Reinhard Zumkeller_, Oct 05 2014