Problem 46639. Transform a Decimal number into a Septimal number
Some scientists believes that a septimal system (7 base number system) was in use approximately 2500 years ago by the Magyar (Hungarian) tribes. Though some are disagreed. However, How will it be if you try to convert some numbers to their number sytem (Septimal Number System) from ours (Decimal Number System).
Let me it crystal clear by incluing an example.
Let,
Decimal number, x = 93 (as Input)
Septical Number, y = 162 (as Output) which is equivalent to the Decimal number, x = 93 (Input).
As you have to convert a decimal number into a septimal number ,you must show the output as y (a septimal number).
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers30
Suggested Problems
-
16199 Solvers
-
Project Euler: Problem 10, Sum of Primes
2083 Solvers
-
567 Solvers
-
Sum of diagonal of a square matrix
1627 Solvers
-
828 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!