Positional Numeral Systems

warriorofesper

New member
Joined
Feb 2, 2017
Messages
1
I am currently trying to find a way to generate numbers from decimal into other bases specifically balanced ternary. I am using "p * x b^3 + q * b^2 + r * b + s" where pqrs is the number and b is the base. Here is a brief overview of it via wikipedia https://en.wikipedia.org/wiki/Non-standard_positional_numeral_systems

Is it possible to generate different base number using a similar or inverse equation. The goal is to take a base10 number and turn it into any other base. I apologize if it has been solved, I have looked and haven't found anything. Thank you!
 
Top