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
-
Replace multiples of 5 with NaN
470 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
955 Solvers
-
269 Solvers
-
Smallest n, for n! to have m trailing zero digits
61 Solvers
-
309 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!