1995 AIME Problem 10
Problem 10 of 15IntermediateNumber TheoryProblem-Solving Techniques
What is the largest positive integer that is not the sum of a positive integral multiple of and a positive composite integer?
Your answer
Integer from 0 to 999
Show solution
Solution
A number in residue class is representable once it exceeds the first positive composite in that class by a positive multiple of Composite residues themselves supply that first value. For the remaining residues, suitable first composites are The largest entry is and and are all prime. Hence is not representable, while every larger integer is.
Tagged: modular arithmetic · factor · extremal argument