OEIS link for a description of lunar arithmetic
Simply take the larger digit.
Example 1:
5
+ 6
____
6Example 2:
456
+ 789
_____
789Example 3:
86
+ 12374
______
12386Example 4:
29
1652
+ 95412
________
95659
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers59
Suggested Problems
-
Return the 3n+1 sequence for n
8488 Solvers
-
Find relatively common elements in matrix rows
2151 Solvers
-
Find the sum of the elements in the "second" diagonal
1202 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Mysterious digits operation (easy)
315 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!