Maths Olympiad Prep

Library / /5 of 25

, 2008

Number theory Difficulty 5.0 AIME Prove it Ukraine

We know that at some natural nn the number n3+2009n2+27nn^3 + 2009n^2 + 27n written in decimal notation ends with digit 3. Find what digits are in the hundred's and ten's place of the number.

Solution

It's clear that the number 2000n22000n^2 does not influence the answer therefore the sought digits are the same for numbers A=n3+2009n2+27nA = n^3 + 2009n^2 + 27n and B=n3+9n2+27nB = n^3 + 9n^2 + 27n.

As the number (B+27)(B + 27) equals (n+3)3(n + 3)^3 (being the cube of the natural number) and ends in 0, this number should end in 000. Thus B=X00027=Y073B = \overline{X000} - 27 = \overline{Y073} where X,YX, Y are some natural numbers. Therefore the last three digits of the number are 073.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.