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
-
Read a column of numbers and interpolate missing data
2359 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2595 Solvers
-
Sum of first n terms of a harmonic progression
526 Solvers
-
Piecewise linear interpolation
644 Solvers
-
Smallest n, for n! to have m trailing zero digits
63 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!