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
-
Determine if input is a Narcissistic number
220 Solvers
-
196 Solvers
-
Generate a random matrix A of (1,-1)
434 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
735 Solvers
-
Find my daddy long leg (No 's')
2852 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!