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 Solvers51
Suggested Problems
-
2379 Solvers
-
Number of 1s in a binary string
11630 Solvers
-
Generate N equally spaced intervals between -L and L
957 Solvers
-
222 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1285 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!