close
login
A247809
Numbers in decimal representation with distinct digits, such that in Swedish their digits are in alphabetic order.
17
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 28, 32, 38, 40, 42, 43, 46, 47, 48, 49, 50, 52, 53, 54, 56, 57, 58, 59, 62, 63, 67, 68, 72, 73, 78, 90, 92, 93, 96, 97, 98, 102, 103, 106, 107, 108, 128, 132, 138, 140, 142, 143, 146, 147, 148
OFFSET
1,3
COMMENTS
List of decimal digits, alphabetically sorted by their names in Swedish: 1 _ en/ett, 5 _ fem, 4 _ fyra, 9 _ nio, 0 _ noll, 6 _ sex, 7 _ sju, 3 _ tre, 2 _ två, 8 _ åtta. In Swedish, the letter Å/å, like in åtta (8), comes after z.
Finite sequence with last and largest term a(992) = 1549067328.
PROG
(Haskell)
import Data.IntSet (fromList, deleteFindMin, union)
import qualified Data.IntSet as Set (null)
a247809 n = a247809_list !! (n-1)
a247809_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 = [1, 5, 4, 9, 0, 6, 7, 3, 2, 8]
(Python)
from itertools import combinations
afull = list(sorted({int("".join(t)) for d in range(1, 11) for t in combinations("1549067328", d)}))
print(afull[:60]) # Andrei Zabolotskii, Nov 11 2025, after Michael S. Branicky's code in A053432
CROSSREFS
Intersection of A010784 and A247759.
Cf. A247800 (Czech), A247801 (Danish), A247802 (Dutch), A053433 (English), A247803 (Finnish), A247804 (French), A247805 (German), A247806 (Hungarian), A247807 (Italian), A247808 (Latin), A247810 (Polish), A247807 (Portuguese), A247811 (Russian), A247812 (Slovak), A247813 (Spanish), A247814 (Turkish).
Sequence in context: A333501 A369092 A247801 * A004775 A231238 A231239
KEYWORD
nonn,base,word,fini,full
AUTHOR
Reinhard Zumkeller, Oct 05 2014
EXTENSIONS
Corrected and edited, "Norwegian" dropped from name by Andrei Zabolotskii, Nov 11 2025, following a comment from Charles Coker, Jul 18 2019
Correct offset restored by Sean A. Irvine, Mar 03 2026
STATUS
approved