Given a number, convert it into the Maya numeral system.
https://en.wikipedia.org/wiki/Maya_numerals
For example,
n=7 >> Maya = .._ n=33 > Maya = . ...__ n=41 > Maya = .. .
Use the English alphabet (o), dot(.) and underscore(_) to represent the numerals. Use space to separate them.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers13
Suggested Problems
-
Program an exclusive OR operation with logical operators
751 Solvers
-
Convert from Base 10 to base 5
283 Solvers
-
446 Solvers
-
Implement a bubble sort technique and output the number of swaps required
398 Solvers
-
Sort complex numbers into complex conjugate pairs
134 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!