返回题库

HMMT 十一月 2020 · 团队赛 · 第 5 题

HMMT November 2020 — Team Round — Problem 5

专题
Contest Math / 竞赛数学
难度
L3
来源
HMMT

题目详情

英文原题

  1. [40] For each positive integer n , let a be the smallest nonnegative integer such that there is only onenpositive integer at most n that is relatively prime to all of n, n + 1 , . . . , n + a . If n < 100, computenthe largest possible value of n − a . n
解析

英文解析

  1. [40] For each positive integer n , let a be the smallest nonnegative integer such that there is only onenpositive integer at most n that is relatively prime to all of n, n + 1 , . . . , n + a . If n < 100, computenthe largest possible value of n − a .
    Proposed by: Hahn Lheemn
    Answer: 16
    Solution: Note that 1 is relatively prime to all positive integers. Therefore, the definition of a cannequivalently be stated as: “ a is the smallest nonnegative integer such that for all integers x , 2 ≤ x ≤ n ,
    x shares a prime factor with at least one of n, n + 1 , . . . n + a .”nn
    The condition is equivalent the statement that the integers from n to n + a must include multiples ofnall primes less than n . Therefore, if p is the largest prime satisfying p < n , then n + a ≥ 2 p .
    We now claim that a = 2 p − n works for all n > 11. For all primes q at most a + 1, it is apparentnn nthat n, n + 1 , . . . , n + a indeed contains a multiple of q . For primes a + 1 < q ≤ p , we then find thatn n
    2 q ≤ n + a . To finish, we claim that 2 q ≥ n , which would be implied by 2( a + 2) ≥ n ⇐⇒ p ≥
    n n
    3 n/ 4 − 1. This is indeed true for all 11 < n < 100.
    We therefore wish to maximize n − a = n − (2 p − n ) = 2( n − p ). Therefore, the answer is twice thenlargest difference between two primes less than 100. This difference is 8 (from 89 to 97), so the answeris 16. Since this is greater than 11, we have not lost anything by ignoring the smaller cases.