OEIS link for a description of lunar arithmetic
Simply take the larger digit when adding and take the smaller digit when multiplying.
Example
15866
X 147
_________
15766
14444
+ 11111
__________
1145766
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers50
Suggested Problems
-
What is the next step in Conway's Life?
680 Solvers
-
1750 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1331 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
461 Solvers
-
8902 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!