Problem 45375. Maya - 01
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 commentsProblem Recent Solvers12
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6172 Solvers
-
Find state names that end with the letter A
1174 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1084 Solvers
-
Convert a numerical matrix into a cell array of strings
1772 Solvers
-
Back to basics 22 - Rotate a matrix
897 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!