Problem 44785. Lunar Arithmetic (Addition)
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 commentsProblem Recent Solvers59
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2809 Solvers
-
Project Euler: Problem 4, Palindromic numbers
1262 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1301 Solvers
-
Matrix indexing with two vectors of indices
769 Solvers
-
Combined Ages 1 - Symmetric, n = 3
314 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!