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 Solvers14
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
489 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
699 Solvers
-
Unique values without using UNIQUE function
457 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
2150 Solvers
-
248 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!