Clear Filters
Clear Filters

Least possible value for a modulo with given remainders

2 views (last 30 days)
Hello guys. Im just asking how do you code a program that gets the LEAST value of a given modulo and remainder. Say example
Z = [3 4 5]
R = [2 1 4]
The inputs will give an output that gives the LEAST possible value for the given. So the answer to the above is 29.
  3 Comments
Riven Yvet
Riven Yvet on 9 Dec 2015
Umm since i am given 3 modulos with remainders, there are a lot of possible values for that. How do i get the least possible though?
Riven Yvet
Riven Yvet on 9 Dec 2015
I can input any values of the modulo and remainder. the above is just an example input.

Sign in to comment.

Answers (0)

Categories

Find more on Elementary Polygons in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!