when positive integer n is divided by 2 , the remainder is 1 . when n is divided by 7 , the remainder is 5 . what is the smallest positive integer p , such that ( n + p ) is a multiple of 10 ?
"when positive integer n is divided by 2 , the remainder is 1 i . e . , n = 2 x + 1 values of n can be one of { 1 , 3 , 5 , 7 , 9 , 11 , 13 , 15 , 17,19 , . . . . . . . . . . . . . . 31 , 33,35 . . . . . . . . . . . . . . . . . . } similarly , when n is divided by 7 , the remainder is 5 . . i . e . , n = 7 y + 5 values of n can be one of { 5 , 12 , 19 , 26 , 33 , 40 , 47 , 54 , 61 . . . . . . . . } combining both the sets we get n = { 19 , 52 , . . . . . . . . . . . } what is the smallest positive integer p , such that ( n + p ) is a multiple of 21 or 21 x in case of n = 5 p = 5 so for min value of p , we take min value of n . c is the answer ."
subtract(10, reminder(5, 7))