Relatable Integers

We know that 89 = 8 + 9 2 . 89 = 8 + 9^2. Including 89 shown above, how many 2-digit integer(s) satisfy the equation a b = a + b 2 ? \overline{ab} = a + b^2 ?

Clarification:
For example, if a = 7 a=7 and b = 4 , b=4, then a b = 74. \overline{ab} = 74.

1 2 3 4

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.

6 solutions

Chung Kevin
Oct 27, 2016

10 a + b = a + b 2 10a + b = a + b^2
b ( b 1 ) = 9 a b(b-1) = 9 a .

Since gcd ( b , b 1 ) = 1 \gcd ( b, b-1) = 1 , we must either have 9 b 9 \mid b or 9 b 1 9 \mid b-1 .

Case 1: 9 b 9 \mid b
Since b b is a digit, either b = 9 b=9 or b = 0 b = 0 .
With b = 9 , a = 8 b = 9, a = 8 is the only solution. This works.
With b = 0 , a = 0 b = 0 , a = 0 is the only solution, but then a b \overline{ab} isn't a 2-digit number.

Case 2 9 b 1 9 \mid b-1
Since b b is a digit, b = 1 b = 1 .
With b = 1 , a = 0 b = 1, a = 0 is the only solution, but then a b \overline{ab} isn't a 2-digit number.

Hence, there is only one solution a b = 89 \overline{ab} = 89 .

@Ossama Ismail Thanks! I wrote a solution in return :)

Chung Kevin - 4 years, 7 months ago

01 also works. That makes the correct answer 2

Bob Mierow - 4 years, 7 months ago

Log in to reply

01 is not a 2 digit integer. It is a 1 digit integer. That's why it was ruled out in Case 2.

Similarly, 00 is not a 2 digit integer. I think it's a 1-digit integer, though it contradicts the rule that "integers do not start with 0".

Chung Kevin - 4 years, 7 months ago
Daksh A Agarwal
Oct 29, 2016

The given condition is equation is equivalent to: 10 a + b = a + b 2 10a+b = a+b^2 . That is b 2 b 9 a = 0 b^2-b-9a=0 . Looking at the discriminant, it follows that 36 a + 1 = k 2 36a+1 = k^2 for some natural k. Now trying values of a from 1 to 9, the only valid value of a is 8. Thus 89 is the only number which satisfies the condition.

Ossama Ismail
Oct 27, 2016

a b = a + b 2 \overline{ab} = a + b^2 10 a + b = a + b 2 10*a + b = a + b^2

9 a = b ( b 1 ) 9*a = b* (b-1)

There is only one solution (in case of 2-digits) which is 9 8 9 * 8

While some solutions require a bit of brute force, it's possible to narrow down to 9 * 8 a little more elegantly.

Jason Dyer Staff - 4 years, 7 months ago

a 10 + b = a + b b 9a = b*(b-1) answer a=0 b=1

Scott Leonard - 4 years, 7 months ago

Log in to reply

01 is not a two-digit number.

Ossama Ismail - 4 years, 7 months ago

00=0+0^2 and 01=0+1^2 work though.

Guy Alves - 4 years, 7 months ago

Log in to reply

01 is not a two-digit number.

Ossama Ismail - 4 years, 7 months ago

This solution could be less terse.

Richard Desper - 4 years, 7 months ago
Roger Erisman
Oct 27, 2016

In Small Basic:

For i = 1 To 9

For j = 0 To 9

x = i + j*j

y = 10*i +j

If x = y Then

  TextWindow.WriteLine(y)

EndIf

EndFor

endfor

Any problem simple enough to solve by exhaustively testing all cases can be solved by exhaustively testing all cases. There's nothing invalid about this approach.

Richard Desper - 4 years, 7 months ago

The purpose of problem solving is not to simply come up with the end answer but to find elegant ways to solve a challenging problem. This kind of an approach undermines the whole purpose of such an activity.

Daksh A Agarwal - 4 years, 7 months ago

Christian Daang
Nov 3, 2016

Note that:

10 a + b = a + b 2 10a + b = a + b^{2} where both a and b are one digit numbers (1) .

=> 9 a = b 2 b 9a = b^{2} - b

=> a = b ( b 1 ) / 9 a = b(b-1)/9

=> b can be 9 or b-1 can be 9.

=> b can be 9 or be can be 10.

therefore, b can only be 9 because b can be 10 is falsifying the fact (1) .

and hence, there is only one two-digit integer (w/c is 89) that satisfy the problem's condition.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...