# Converting among Dyadic, Decimal, and Binary Notation

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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.

Contributed by: Izidor Hafner (December 2015)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

Reference

[1] D. Hofstadter, "How Raymond Smullyan Inspired My 1112-Year-Old Self,"* Four Lives, A Celebration of Raymond Smullyan* (J. Rosenhouse, ed.), New York: Dover Publications, Inc., 2014 pp. 87–104.

## Permanent Citation

"Converting among Dyadic, Decimal, and Binary Notation"

http://demonstrations.wolfram.com/ConvertingAmongDyadicDecimalAndBinaryNotation/

Wolfram Demonstrations Project

Published: December 30 2015