Converting among Dyadic, Decimal, and Binary Notation

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

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

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.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send