Sequences in Digits

Algebra Level 3

A three-digit even number is given such that the hundreds, tens, and unit digits respectively form a decreasing arithmetic sequence . When two is added to the number, the same order of the digits now forms a geometric sequence. What is the original number?


The answer is 840.

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.

2 solutions

  • Let n be the original three-digit number

It is given that the digits in the three-digit number n+2 form a geometric sequence.

And the only possible three digit numbers that form a decreasing geometric progression in its digits are...

  • 931

  • 842

  • 421

  • 964

Notice only 842 satisfy the condition where n is a legit three digit number

Hence,

n+2 = 842

n = 840 (notice that the digits do form a decreasing arithmetic progression)

Don't forget 964.

Sal Gard - 5 years, 1 month ago

Log in to reply

oh right :D Thanks bro!

Christopher Banzon - 5 years, 1 month ago
Jomar Sta Maria
May 6, 2016

Firstly, we must remember that the digits of the original number form an decreasing arithmetic sequence, where there is a negative common difference between its terms. Let us represent each digit as the following:

  • Hundreds digit: h = a d h = a - d
  • Tens digit: t = a t = a
  • Unit digit: u = a + d u = a + d

Take note that the value of u u is increased by 2 2 as it is said in the given. Therefore we will have the new value of a + d + 2 a + d +2 for the units digit. We will only use this new value for the next step, not in all of the process hereafter.

The next step is given that when 2 is added, the digits now form a geometric sequence, in which the product of the first and third term is equal to the square of the second term, that is:

  • h u = t 2 hu=t^2
  • ( a d ) ( a + d + 2 ) = a 2 (a - d)(a + d +2) = a^2

Continuing the solution to find a a in terms of d d :

  • ( a d ) ( a + d + 2 ) = a 2 (a - d)(a + d +2) = a^2
  • a 2 d 2 + 2 a 2 d = a 2 a^2 - d^2 + 2a - 2d = a^2
  • d 2 + 2 a 2 d = 0 -d^2 + 2a - 2d = 0
  • 2 a = d 2 + 2 d 2a = d^2 + 2d
  • a = ( d 2 + 2 d 2 a = (\frac{d^2 + 2d}{2} )

We will set this equation aside for the later part of the solution.


Going back to the equation for the original unit digit, we'll represent u u in terms of d d , and finally rearrange the whole thing in to a quadratic equation in the form a x 2 + b x + c = 0 ax^2 + bx + c = 0 .

  • u = a + d u = a + d
  • u = ( d 2 + 2 d 2 u = (\frac{d^2 + 2d}{2} + d)
  • u = ( d 2 + 4 d 2 u = (\frac{d^2 + 4d}{2}
  • 2 u = d 2 + 4 d 2u = d^2 + 4d
  • d 2 + 4 d 2 u = 0 d^2 + 4d - 2u = 0

Moving on, we must remember that d d must be an integer, because we are talking about digits here. We cannot have digits with a decimal point. So in order to have integer solutions to d d , we will use the discriminant of the quadratic formula, which is b 2 4 a c b^2 - 4ac and we must make it a perfect square.

Substituting the constants into the discriminant:

  • b 2 4 a c b^2 - 4ac
  • 4 2 ( 4 ) ( 1 ) ( 2 u ) 4^2 - (4)(1)(-2u)
  • 16 + 8 u 16 + 8u ----------> This expression must result to a perfect square.

The next thing I did here is to use the trial and error to put the digits 0 to 9 to u u to see if the resulting value is a perfect square. And here are the results:

Value of u u 0 1 2 3 4 5 6 7 8 9
Discriminant 16 24 32 40 48 56 64 72 80 88

From the table we can say that when the unit digit is 0 or 6, the discriminant is a perfect square, and we can come up with an integral value of d d for each.

The next step is to substitute the desired values of u u , which are 0 and 6, to the whole quadratic equation, and solve for d d .

d 2 + 4 d 2 ( 0 ) = 0 d^2 + 4d - 2(0) = 0 d 2 + 4 d 2 ( 6 ) = 0 d^2 + 4d - 2(6) = 0
d 2 + 4 d = 0 d^2 + 4d = 0 d 2 + 4 d 12 = 0 d^2 + 4d - 12 = 0
d ( d + 4 ) = 0 d(d + 4) = 0 d + 6 ) ( d 2 ) = 0 d + 6)(d - 2) = 0
d = 0 , 4 d = 0, -4 d = 6 , 2 d = -6, 2

We need a negative value of d d because as stated in the problem, the digits of the original number form a decreasing arithmetic sequence. But we cannot have 6 -6 because it will leave the hundreds and the unit digit with a difference of 12 12 , which is too large. This leaves us with 4 -4 having the value of d d .


Looking back to the equation for a a in terms of d d , we can now substitute the value of d d to find a a .

  • a = ( d 2 + 2 d 2 a = (\frac{d^2 + 2d}{2} )
  • a = ( ( 4 ) 2 + 2 ( 4 ) 2 a = (\frac{(-4)^2 + 2(-4)}{2} )
  • a = ( 16 8 2 a = (\frac{16 - 8}{2} )
  • a = 4 a = 4 .

Finally, using the very first set of equations, we can now substitute the values of a a and d d to get each digit of the original number.

  • Hundreds digit: h = a d h = a - d
  • Hundreds digit: h = 4 ( 4 ) h = 4 - (-4)
  • Hundreds digit: h = 8 h = 8

  • Tens digit: t = a t = a
  • Tens digit: t = 4 t = 4

  • Unit digit: u = a + d u = a + d
  • Unit digit: u = 4 + ( 4 ) u = 4 + (-4)
  • Unit digit: u = 0 u = 0

And there we have it. The original number is 840 840 . If we add it by 2, we will have 842 842 . 8, 4, and 2 are geometrically sequenced.

F i n a l A n s w e r : 840 **Final Answer: 840**

End Note: I know this is a very long solution. If you could provide a shortcut to this, it would be a great help.

Or if this solution is not worthy of your reading time, you may try to consider doing trial-and-error for the whole problem! :P

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...