2006 Alabama ARML TST Problems/Problem 12

Revision as of 11:32, 17 April 2008 by 1=2 (talk | contribs) (New page: ==Problem== Yoda begins writing the positive integers starting from 1 and continuing consecutively as he writes. When he stops, he realizes that there is no set of 5 composite integers amo...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

Yoda begins writing the positive integers starting from 1 and continuing consecutively as he writes. When he stops, he realizes that there is no set of 5 composite integers among the ones he wrote such that each pair of those 5 is relatively prime. What’s the largest possible number Yoda could have stopped on?

Solution

The least group of 5 positive consecutive integers with the property that each pair of those is relatively prime is the set $\{ 2^2, 3^3, 5^2, 7^2, 11^2\}$. Therefore, the largest number he could have stopped on is $11^2-1=\boxed{120}$.

See also