base_conv: Yet another word to number to word conversion

This programs converts a "word" to a decimal number or a decimal number to a "word" for as many bases as possible.

E.g. the "word" 'hakank' is converted to the decimal number 138965180 when 'hakank' is in base 24. Base 24 is the minimal base for this word since "n" requires that base. When 'hakank' is in base 25 the decimal number is 170241220 etc. And the other way around: The decimal number 170241220 is converted to the "word" 'luqxq' for base 53.

Language and valid characters: There are two valid language sets: english and swedish. The english character setting is 0..9 a-z A-Z in exactly this order. Please note that upper cases is allowed and are different from the lower case. The swedish character setting is 0..9 a-zåäö A-ZÅÄÖ. E.g.: The swedish "word" 'Håkan' is converted to the decimal number 88062687 base 37. Base 37 is also the minimal base since the "H" requires that base.

Entering a word outside the character setting for the language will issue a warning, except for spaces which be unconditionally be removed.

For decimal number to "word" conversion, the only requirement is that the number should be a decimal number, i.e. only consist of the digits: 0 .. 9. Spaces will be removed.

As usual this program was presented at my (swedish) blog hakank.blogg: base_conv: Konvertering av ord till tall till ord


Please enter a word and/or a decimal number.
Word:
Decimal number:
Language: swedish english



Decimal number to "word"

Decimal number: 15299
Language: swe

Decimal number"Word"
211101111000011
3202222122
43233003
5442144
6154455
762414
835703
922878
1015299
1110549
128a2b
136c6b
14580b
1547ee
163bc3
1731fg
182b3h
192474
201i4j
211deb
2219d9
2315l4
2412db
25obo
26mgb
27kqh
28jeb
29i5g
30gtt
31fsg
32eu3
33e1k
34d7x
35ch4
36bsz
37b6i
38amn
39a2b
409mj
41946
428sb
438by
447Av
457oF
467ar
476Eo
486uz
496ib
5065K
515FL
525yb
535nz
545dh
55539
564Kb
574Bn
584vG
594ni
604eU
6146K
623VI
633OO
643I3
653Bo
663xO
673rn
683kÖ

Back to my other useless programs
Back to my homepage
Created by Hakan Kjellerstrand hakank@bonetmail.com