WOLFRAM|DEMONSTRATIONS PROJECT

Converting among Dyadic, Decimal, and Binary Notation

​
random number
table of first integers
convert:
dyadic to decimal
decimal to dyadic
dyadic to binary
binary to dyadic
decimal to binary
binary to decimal
show result:
for new example, length ofthe number in dyadic notation:
1
2
3
4
5
generate new example
12
4
This Demonstration converts among dyadic, decimal, and binary notation for positive integers. Dyadic notation is much like binary, except that it uses 1s and 2s instead of 0s and 1s. The dyadic numeral "1212" stands for "one eight, two fours, one two, and two ones." This adds up to 20 (in decimal notation). In binary notation this is "10100", which stands for one 16 plus one four.