bases
Instructs the front end to display integers in additional number bases.
Syntax
-
bases([b1[, ...]])
-
b1
, ... are positive integers greater than 1
-
Description
bases(b1, ...)
instructs the Algosim front end to display integer outputs in number bases b1
, ..., in addition to in base 10. The function returns null
on success.
To remove all additional bases, call bases()
.
Examples
prime(1000)
7919
bases(2, 16)
prime(1000)
7919 (11110 11101111₂, 1EEF₁₆)