Skip to main content

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 4242 and a positive composite integer?

Your answer

Integer from 0 to 999
Show solution

Solution

A number in residue class r(mod42)r\pmod {42} is representable once it exceeds the first positive composite in that class by a positive multiple of 42.42. Composite residues rr themselves supply that first value. For the remaining residues, suitable first composites are 0:42, 1:85, 2:44,3:45, 5:215, 7:49,11:95, 13:55, 17:143,19:145, 23:65, 29:155,31:115, 37:121, 41:125.\begin{aligned}&0:42,\ 1:85,\ 2:44,\\&3:45,\ 5:215,\ 7:49,\\&11:95,\ 13:55,\ 17:143,\\&19:145,\ 23:65,\ 29:155,\\&31:115,\ 37:121,\ 41:125.\end{aligned} The largest entry is 215,215, and 215−42,215-42, 215−84,215-84, 215−126,215-126, 215−168,215-168, and 215−210215-210 are all prime. Hence 215215 is not representable, while every larger integer is.
AoPS wiki

Tagged: modular arithmetic · factor · extremal argument

More practice