Difference between revisions of "1995 AIME Problems/Problem 10"
Ahuang080411 (talk | contribs) (→Solution) |
(→Solution) |
||
Line 33: | Line 33: | ||
-jackshi2006 | -jackshi2006 | ||
+ | |||
+ | I've completely rewritten this answer, to make it closer to that of the given solution.) | ||
+ | |||
+ | Let us consider such positive integers separately, by their remainder modulo 42 | ||
+ | . | ||
+ | |||
+ | So fix an r | ||
+ | , where 1≤r≤42 | ||
+ | . (We're picking 1≤r≤42 | ||
+ | instead of the conventional 0≤r<42 | ||
+ | , because we only care about positive numbers and this makes some arguments simpler.) Let us consider numbers n≡rmod42 | ||
+ | . | ||
+ | |||
+ | That is, we're looking for an n | ||
+ | in the sequence | ||
+ | r,r+42,r+2(42),r+3(42),r+4(42),… | ||
+ | such that n | ||
+ | is not the sum of a positive composite integer and a positive multiple of 42 | ||
+ | . This is equivalent to saying that n | ||
+ | , wherever it occurs in this sequence, has no composite number earlier in the sequence than it. | ||
+ | |||
+ | Therefore, the largest "good" n | ||
+ | in the sequence is the largest n | ||
+ | such that all earlier elements of the sequence are non-composite, which means that n | ||
+ | is the first composite number in the sequence. | ||
+ | |||
+ | So for each r | ||
+ | , where 1≤r≤42 | ||
+ | , we simply need to write down the sequence r,r+42,r+2(42),… | ||
+ | , and record the first composite number that occurs in it. The largest of these is the answer. As a shortcut (as e.g. considering r=2 | ||
+ | shows that the the answer happens to be at least 44 | ||
+ | ), we can choose to start with only prime r | ||
+ | . | ||
== Solution 2 == | == Solution 2 == |
Revision as of 07:40, 16 August 2025
Problem
What is the largest positive integer that is not the sum of a positive integral multiple of and a positive composite integer?
Solution
The requested number must be a prime number. Also, every number that is a multiple of
greater than that prime number must also be prime, except for the requested number itself. So we make a table, listing all the primes up to
and the numbers that are multiples of
greater than them, until they reach a composite number.
Since is the greatest number in the list, it is the answer. Note that considering
would have shortened the search, since
, and so within
numbers at least one must be divisible by
.
~minor edit Yiyj1
Afterword
Basically, we are looking for a number where when a multiple of 42 is subtracted from it, the result is a prime number. Any number that ends in a 5 is not prime, except for 5 itself. Since 42 keeps the parity the same and advances odd numbers in the unit digit, then we can conclude that the sought number is . Specifically,
.
-jackshi2006
I've completely rewritten this answer, to make it closer to that of the given solution.)
Let us consider such positive integers separately, by their remainder modulo 42 .
So fix an r , where 1≤r≤42 . (We're picking 1≤r≤42
instead of the conventional 0≤r<42
, because we only care about positive numbers and this makes some arguments simpler.) Let us consider numbers n≡rmod42 .
That is, we're looking for an n
in the sequence
r,r+42,r+2(42),r+3(42),r+4(42),… such that n
is not the sum of a positive composite integer and a positive multiple of 42
. This is equivalent to saying that n , wherever it occurs in this sequence, has no composite number earlier in the sequence than it.
Therefore, the largest "good" n
in the sequence is the largest n such that all earlier elements of the sequence are non-composite, which means that n is the first composite number in the sequence.
So for each r , where 1≤r≤42 , we simply need to write down the sequence r,r+42,r+2(42),… , and record the first composite number that occurs in it. The largest of these is the answer. As a shortcut (as e.g. considering r=2
shows that the the answer happens to be at least 44
), we can choose to start with only prime r .
Solution 2
Let our answer be . Write
, where
are positive integers and
. Then note that
are all primes.
If is
, then
because
is the only prime divisible by
. We get
as our largest possibility in this case.
If is
, then
is divisible by
and thus
. Thus,
.
If is
, then
is divisible by
and thus
. Thus,
.
If is
, then
is divisible by
and thus
. Thus,
.
If is
, then
is divisible by
and thus
. Thus,
.
Our answer is .
See also
1995 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 9 |
Followed by Problem 11 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions.