2021 WSMO Team Round/Problem 2
Revision as of 08:46, 24 June 2022 by Programmeruser (talk | contribs) (Created page with "== Problem == Bobby has some pencils. When he tries to split them into 5 equal groups, he has 2 left over. When he tries to split them into groups of 8, he has 6 left over. Wh...")
Problem
Bobby has some pencils. When he tries to split them into 5 equal groups, he has 2 left over. When he tries to split them into groups of 8, he has 6 left over. What is the second smallest number of pencils that Bobby could have?
Proposed by pinkpig
Solution
From the problem statement, we have that: We can translate this into its parametric form: Taking both sides , we have a linear congruence . Since , . Then . We have that from this. Plugging this into the original equation, we get that . The smallest possible value of occurs when , so the second smallest occurs when , or . ~programmeruser