Last 3 digits

What are the last 3 digits of

87 7 3 12 3 3 877 123 ? \frac{ 877^3 - 123^3 } { 877 - 123 } ?

Details and assumptions

You may use the fact that 877 + 123 = 1000 877 + 123 = 1000 .


The answer is 129.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Kishlaya Jaiswal
Sep 9, 2013

87 7 3 12 3 3 877 123 = ( 877 123 ) ( 87 7 2 + 12 3 2 + 877 × 123 ) 877 123 \frac{877^3-123^3}{877-123} = \frac{(877-123)(877^2+123^2+877\times123)}{877-123}

87 7 2 + 12 3 2 + 2 × 877 × 123 873 × 123 = ( 877 + 123 ) 2 877.123 = 100 0 2 877.123 877^2+123^2+2\times877\times123-873\times123 = (877+123)^2-877.123 = 1000^2 - 877.123

Since we need to find last three digits our working modulo will be 1000

100 0 2 877 × 123 1000 871 129 ( m o d 1000 ) 1000^2-877\times123 \equiv 1000-871 \equiv 129 \pmod{1000}

As pointed out in a discussion last week, it is not true that "last three digits" is equal to "working modulo 1000". You need to check (or at least mention) one more fact.

Calvin Lin Staff - 7 years, 9 months ago

yes but the problem here is in the segond step. l think you equalibred you equality by 2 then you change by Important identical , please give me the thecnic ....

Laura Al-taib - 7 years, 9 months ago
Flávio Marques
Sep 8, 2013

(877³-123³)/(877-123) = [(877-123)(877²+877.123+123²)]/(877-123) = (877²+877.123+123²) = (877+123)²-877.123 =1000000 -107871=892129

i don't get it can you break it into easy steps?

lily blazevic - 7 years, 9 months ago

Log in to reply

maths.

Confuzed Confucius - 7 years, 9 months ago

Hi i will attempt to simplify the above mass of numbers and hopefully help to make it less confusing, hope this helps :)

So, let us first let 877 be A and 123 be B. Now we have, (A^3-B^3)/(A-B). This equation can then be factorized into: ((A-B)(A^2+AB+B^2)) / (A-B) The (A-B) in the numerator and the denominator cancels off, leaving us with: (A^2+AB+B^2) which can be expressed as (A^2+2AB+B^2) - AB. The (A^2+2AB+B^2) can be simplified into (A+B)^2. So now the simplified equation will look like: (A+B)^2 - AB. Now substitute A=877 and B=123 into the simplified equation you have (877+123)^2- 877*123= 1000000-107871= 892129 Thus last 3 digits is 129

gerry zhang - 7 years, 9 months ago

I believe that this is too confusing and hard to follow. I understand the maths which is actually correct but the format is too 'clustered'

Maggie Wu - 7 years, 9 months ago
Priyansh Sangule
Sep 18, 2013

Using the identity that :

a 3 b 3 = ( a b ) ( a 2 + a b + b 2 ) a^3 - b^3 = (a-b)(a^2 + ab + b^2)

We can further transform this for our convenience as :

a 3 b 3 = ( a b ) [ ( a + b ) 2 a b ] a^3 - b^3 = ( a - b ) [ ( a + b )^2 - ab ]

Now we can write the equation as :

87 7 3 12 3 3 877 123 = ( 877 123 ) [ ( 877 + 123 ) 2 877 × 123 ] ( 877 123 ) = ( 1000 ) 2 877 × 123 = ( 1000 ) 2 ( 1000 877 ) × 877 = ( 1000 ) 2 2 ( 1000 ) ( 877 ) + ( 877 ) 2 + ( 1000 ) ( 877 ) = ( 1000 877 ) 2 + 877000 = ( 123 ) 2 + 877000 = 15129 + 877000 \begin{aligned} \dfrac{877^3 - 123^3}{877 - 123} &= \dfrac{( 877 - 123 ) [ ( 877 + 123 )^2 - 877 \times 123 ]}{(877 - 123)} \\ &= (1000)^2 - 877 \times 123 \\ &= (1000)^2 - (1000 - 877) \times 877 \\ &= (1000)^2 - 2(1000)(877) + (877)^2 + (1000)(877) \\ &= (1000-877)^2 + 877000 \\ &= (123)^2 + 877000 \\ &= 15129 + 877000 \end{aligned}

Thus the last 3 digits will be = 129 \boxed{129}

Cheers!

I used completing the square method in the 9th step .

Priyansh Sangule - 7 years, 8 months ago
David L.
Sep 9, 2013

Use calculator. problem officer?

hahaha :D Like a BOSS :P

Talha Naveed - 7 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...