返回题库

PUMaC 2008 · 数论(B 组) · 第 8 题

PUMaC 2008 — Number Theory (Division B) — Problem 8

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

题目详情

(5分) 不能表示为 2008x+2009y+2010z2008x + 2009y + 2010z(x,y,zx,y,z 为正整数)的最大整数是多少?

英文原题

  1. (5 points)What is the largest integer which cannot be expressed as 2008 x + 2009 y + 2010 z for some
    positive integers x, y, and z?
解析

英文解析

  1. The largest number that cannot be a positive linear combanation of 1004 and
    1005 is 1004 ∗ 1005 − 1004 − 1005 = 1007011, so the smallest even number that cannot be written
    as the sum of 2008 and 2010 is 2007022. Then the largest number that we can’t get is 2009031, as
    every larger number you can make it even by subtracting 2009 if necessary and write that as the
    sum of multiples of 2008 and 2010.