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 Solvers28
Suggested Problems
-
8845 Solvers
-
Back to basics 22 - Rotate a matrix
894 Solvers
-
Rounding off numbers to n decimals
4359 Solvers
-
1550 Solvers
-
Sum the squares of numbers from 1 to n
240 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!