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 Solvers48
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3406 Solvers
-
Project Euler: Problem 3, Largest prime factor
1789 Solvers
-
Recurring Cycle Length (Inspired by Project Euler Problem 26)
161 Solvers
-
Return elements unique to either input
808 Solvers
-
47 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!