OFFSET
0,3
COMMENTS
French version of A057846, see there for references.
Digits are sorted in the order: 5="cinq", 2="deux", 8="huit", 9="neuf", 4="quatre", 7="sept", 6="six", 3="trois", 1="un", 0="zéro".
Works well for the French language (as for English), because 0="zero" is sorted last. The exact German analog cannot be stored on OEIS, since 0="null" comes before, e.g., 2="zwei": This would yield "02" for 20, but leading zeros are not allowed for terms on OEIS.
PROG
(PARI) (n, o=[9, 8, 1, 7, 4, 0, 6, 5, 2, 3])->{ sum(i=1, #n=vecsort(digits(n), (a, b)->o[b+1]-o[a+1]), n[i]*10^i)/10}
CROSSREFS
KEYWORD
nonn,word,base
AUTHOR
M. F. Hasler, Jul 28 2013
STATUS
approved