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 Solvers62
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53799 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5821 Solvers
-
Program an exclusive OR operation with logical operators
803 Solvers
-
Arrange vector in ascending order
836 Solvers
-
Return fibonacci sequence do not use loop and condition
874 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!