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
-
7480 Solvers
-
Test if a Number is a Palindrome without using any String Operations
256 Solvers
-
How long is the longest prime diagonal?
412 Solvers
-
Implement a bubble sort technique and output the number of swaps required
395 Solvers
-
Write a function man that takes a row vector v and returns a matrix H as follows..
648 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!