Problem 56463. Find the dividend

  • Created by HH
Given a vector of pairwise coprime positive integers, p, and a vector of corresponding remainders, r, return a positive integer, d, which, when divided by each of the elements of p, produces the respective remainders r.
Example:
p = [3, 5, 7]
r = [2, 3, 2]
d = 23

Solution Stats

62.5% Correct | 37.5% Incorrect
Last Solution submitted on Apr 10, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers5

Suggested Problems

More from this Author45

Community Treasure Hunt

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

Start Hunting!