AIME 1995 · 第 10 题
AIME 1995 — Problem 10
题目详情
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
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 .