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 Solvers61
Suggested Problems
-
Calculate the Levenshtein distance between two strings
1511 Solvers
-
2559 Solvers
-
Change the sign of even index entries of the reversed vector
654 Solvers
-
Spot the First Occurrence of 5
434 Solvers
-
特定の値がベクトル内に含まれているかを確認するコードを書こう
343 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!