NumeralSystemShape
What a system's numerals look like, as a Dictionary: whether it is a bijection, which integers it spells, and with which digits.
NumeralSystemShape(system)Bijective, Integers, and when they apply Digits (one set, or one per place), Width and RuleTyped signatures
| Type | Package | Applies |
|---|---|---|
(any) -> dictionary | numerals | always |
Details
Digitsis one set when every place shares it, and a list — most significant first — when places differ, as in a mixed radix or a residue systemRulenames a constraint no per-place bound captures: Zeckendorf's no two adjacent ones, Ostrowski's ceiling rule- A residue system whose moduli share a factor still spells every integer below , but not uniquely:
Bijectiveis False
Examples
Basic #
About
| Examples | 4 |
|---|
See also: IntegerDigits, FromDigits