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 Solvers49
Suggested Problems
-
5982 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2049 Solvers
-
Project Euler: Problem 16, Sums of Digits of Powers of Two
181 Solvers
-
Split a string into chunks of specified length
2123 Solvers
-
355 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!