Problem 61011. Compute the tersum
The tersum, which appears in certain mathematical games, involves adding two numbers in base 3 without carry and converting back to base 10. For example, the tersum of 5 and 8 would involve adding their base-3 representations 12 and 22 without carry to get 01 in base 3 or 1 in base 10.
Write a function to compute the tersum of two integers.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers2
Suggested Problems
-
2 Solvers
More from this Author312
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!