SOLUTION: A positive integer is divided by 2,3,4, and 5, and the remainders are added together. Find the sum of the digits of the smallest integer that makes the sum as large as possible.

Algebra.Com
Question 657407: A positive integer is divided by 2,3,4, and 5, and the remainders are added together. Find the sum of the digits of the smallest integer that makes the sum as large as possible.
Answer by kevwill(135)   (Show Source): You can put this solution on YOUR website!
In order to maximize the sum of the remainders, we need a number, x, that gives:
(1) remainder 1 when divided by 2, or x = 2m+1
(2) remainder 2 when divided by 3, or x = 3n+2
(3) remainder 3 when divided by 4, or x = 4o+3
(4) remainder 4 when divided by 5, or x = 5p+4
where m, n, o, and p are integers >= 0
From (1) we know the number must be odd, so both n and p must be odd. This gives us
(2a) x = 6n + 5 and
(4a) x = 10p + 9
We can start listing possible values of x for each equation (2a), (3), and (4a):
(2a) 5, 11, 17, 23, 29, 35, 41, 47, 53, 59
(3) 3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 51, 55, 59
(4a) 9, 19, 29, 39, 49, 59
59 is the smallest number that meets all the criteria, and the sum of the digits is 14.


RELATED QUESTIONS

Six consecutive positive integers are each divided by 6 and their remainders are... (answered by ikleyn)
When a certain interger is divided by 15, the remainder is 7. Find the sum of the... (answered by Cintchr)
When a number is divided by 3 and 5 the remainders are 2 and 1 respectively. The sum of... (answered by dfrazzetto)
As my younger brother shouted out four consecutive integers, I divided each by my age (an (answered by ankor@dixie-net.com)
When a certain number is divided by 2, there is a remainder of 1. When the same number is (answered by CubeyThePenguin,ikleyn)
Reconciling remainders. Find a positive integer smaller than 500 that has a remainder of (answered by ankor@dixie-net.com)
Reconciling remainders. Find a positive integer smaller than 500 that has a remainder of (answered by ankor@dixie-net.com)
which of the following could be the remainders when 4 consecutive positive integers are... (answered by josmiceli)
How do I solve this following question: The remainders whe ax^4+bx cube - x - 7 is... (answered by robertb)