Skip to content

AdicExpansion

The digits of a -adic number, written with the infinite end on the left: for in , for in , when capped.

AdicExpansion(x, count?)the first `count` digits (default 20) as a string
AdicDigits(x, count?)the same digits as a list, LEAST significant first — the only order that lists something with no left end

Domain: Numeral systems

Details
  • The ellipsis marks the infinite left end and is dropped only when nothing hides there: an exact non-negative integer (times )
  • Digits past the point are the negative-valuation places, prime bases only
  • Digits are bracketed, so base 16 reads `…[15][15][15]`

Examples

See also: AdicNumeral, IntegerDigits