login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A247800
Numbers in decimal representation with distinct digits, such that in Czech their digits are in alphabetic order.
17
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 15, 16, 17, 18, 20, 21, 23, 25, 26, 27, 28, 40, 41, 42, 43, 45, 46, 47, 48, 49, 53, 56, 57, 63, 73, 76, 83, 85, 86, 87, 90, 91, 92, 93, 95, 96, 97, 98, 103, 105, 106, 107, 108, 153, 156, 157, 163, 173, 176, 183, 185, 186
OFFSET
1,3
COMMENTS
List of decimal digits, alphabetically sorted by their names in Czech:
4 _ čtyři, 9 _ devět, 2 _ dva/dvě, 1 _ jeden/jedna/jedno, 0 _ nula, 8 _ osm, 5 _ pět, 7 _ sedm, 6 _ šest, 3 _ tři;
finite sequence with last and largest term a(992) = 4921085673.
PROG
(Haskell)
import Data.IntSet (fromList, deleteFindMin, union)
import qualified Data.IntSet as Set (null)
a247800 n = a247800_list !! (n-1)
a247800_list = 0 : f (fromList [1..9]) where
f s | Set.null s = []
| otherwise = x : f (s' `union`
fromList (map (+ 10 * x) $ tail $ dropWhile (/= mod x 10) digs))
where (x, s') = deleteFindMin s
digs = [4, 9, 2, 1, 0, 8, 5, 7, 6, 3]
CROSSREFS
Intersection of A010784 and A247750.
Cf. A247801 (Danish), A247802 (Dutch), A053433 (English), A247803 (Finnish), A247804 (French), A247805 (German), A247806 (Hungarian), A247807 (Italian), A247808 (Latin), A247809 (Norwegian), A247810 (Polish), A247807 (Portuguese), A247811 (Russian), A247812 (Slovak), A247813 (Spanish), A247809 (Swedish), A247814 (Turkish).
Sequence in context: A305707 A161979 A247810 * A092968 A177053 A151547
KEYWORD
nonn,base,word,fini,full
AUTHOR
Reinhard Zumkeller, Oct 05 2014
STATUS
approved