Skip to content

PrimorialNumerals ​

Primorial base: place kk has weight p1⋯pkp_1 \cdots p_k and digit below pk+1p_{k+1} — the same idea as FactorialNumerals with the primes in place of the naturals.

PrimorialNumerals()the system, place kk weighted p1⋯pkp_1\cdots p_k
Typed signatures
TypePackageApplies
() -> valuenumeralsalways

Domain: Numeral systems

Examples

Basic #

100=3⋅30+1⋅6+2⋅2+0100 = 3\cdot 30 + 1\cdot 6 + 2\cdot 2 + 0 (places 30,6,2,130, 6, 2, 1)

live ↗
InIntegerDigits(100,PrimorialNumerals)\mathrm{IntegerDigits}(100, \mathrm{PrimorialNumerals})Out[3,1,2,0]\bigl\lbrack3, 1, 2, 0\bigr\rbrack
About
Examples1

See also: IntegerDigits, FactorialNumerals