Lunar Arithmetic (Multiplication) - MATLAB Cody - MATLAB Central

Problem 44786. Lunar Arithmetic (Multiplication)

Difficulty:Rate

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

33.12% Correct | 66.88% Incorrect
Last Solution submitted on Apr 18, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
1
2

Problem Recent Solvers45

Suggested Problems

More from this Author92

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!