# Thread:

1. ## Problem

I need help to solve this problem:

Two-digit number is three times bigger from sum of digits which that number contains, and square of that sum of digits is equal to triple number which is wanted. Find that number.

I have represented that two-digit number as
$10x+y=3(x+y)$

Multiplying both sides with (x+y) we get that
$\frac{10x^2+11xy+y^2}{3}=(x+y)^2$

Dividing left side with 3 we will get that
$\frac{10x^2+11xy+y^2}{9}=(x+y)^2$
which is number that we want.

So I think we must solve system of equation
$10x+y=3(x+y)$
$\frac{10x^2+11xy+y^2}{9}=(x+y)^2$

I have tried to solve this equation by puting $x=\frac{2y}{7}$ (from first equation) into second equation but the result is x=0 and y=0.

Is my way of solution right?
help to solve.

2. Originally Posted by DenMac21
I need help to solve this problem:

Two-digit number is three times bigger from sum of digits which that number contains, and square of that sum of digits is equal to triple number which is wanted. Find that number.

I have represented that two-digit number as
$10x+y=3(x+y)$

Multiplying both sides with (x+y) we get that
$\frac{10x^2+11xy+y^2}{3}=(x+y)^2$

Dividing left side with 3 we will get that
$\frac{10x^2+11xy+y^2}{9}=(x+y)^2$
which is number that we want.

So I think we must solve system of equation
$10x+y=3(x+y)$
$\frac{10x^2+11xy+y^2}{9}=(x+y)^2$

I have tried to solve this equation by puting $x=\frac{2y}{7}$ (from first equation) into second equation but the result is x=0 and y=0.

Is my way of solution right?
help to solve.
You made a mistake, on step 3, your result should look like
$<br /> \frac{10x^2+11xy+y^2}{3}=(x+y)^2<br />$
You accidently did 2 steps in step 2. You multiplied by $(x+y)$ and divided by 3, then you forgot that you divided by 3 and divided by 3 again.

3. Originally Posted by ThePerfectHacker
You made a mistake, on step 3, your result should look like
$<br /> \frac{10x^2+11xy+y^2}{3}=(x+y)^2<br />$
You accidently did 2 steps in step 2. You multiplied by $(x+y)$ and divided by 3, then you forgot that you divided by 3 and divided by 3 again.

No, I divided by 3 in step 3 because the square of sum of digits is equal to triple number which is wanted. So I didn't have to divide it by 3 but later it should be divided.

The problem is that I can't find values of x and y.

I can't solve this system of equation:
$<br /> 10x+y=3(x+y)<br />$
$<br /> \frac{10x^2+11xy+y^2}{9}=(x+y)^2<br />$

4. Originally Posted by DenMac21
No, I divided by 3 in step 3 because the square of sum of digits is equal to triple number which is wanted. So I didn't have to divide it by 3 but later it should be divided.

The problem is that I can't find values of x and y.

I can't solve this system of equation:
$<br /> 10x+y=3(x+y)<br />$
$<br /> \frac{10x^2+11xy+y^2}{9}=(x+y)^2<br />$
Since $x \in \{1,2,3,4,5,6,7,8,9\}$ and $y \in \{0,1,2,3,4,5,6,7,8,9\}$,
trial and error shows that the first of your equations has solution:

$x=2,\ y=7$,

but this is not a solution of the second of your equations.

RonL

5. Originally Posted by DenMac21
I need help to solve this problem:

Two-digit number is three times bigger from sum of digits which that number contains, and square of that sum of digits is equal to triple number which is wanted. Find that number.
Let $Z$ be the number wanted. The sum of the digits of the
two-digit number is $9$ as the digits are $2$ and $7$. So the last
condition of the problem translates to:

$3Z=9^2=81$,

so:

$Z=27$.

RonL

6. Originally Posted by CaptainBlack
Let $Z$ be the number wanted. The sum of the digits of the
two-digit number is $9$ as the digits are $2$ and $7$. So the last
condition of the problem translates to:

$3Z=9^2=81$,

so:

$Z=27$.

RonL
Thats ok, but we have get that x=2 and y=7 by guessing numbers.
Is there algebraic way to get that numbers?

7. Originally Posted by DenMac21
Thats ok, but we have get that x=2 and y=7 by guessing numbers.
Is there algebraic way to get that numbers?
Not by guessing, exhausive search over the ranges involved is not guessing.
And if you don't like exaustive search you can try the following:

$10x+y=3(x+y) \Rightarrow 7x=2y$,

but $7$ and $2$ are prime and so $y$ is a multiple of $7$,
and as $7$ is the only single digit non-zero multiple of $7$
we have $y=7$ and the rest follows.

( $y$ has to be non-zero, as if it were zero $x$ would be zero,
which is not permitted).

RonL

8. Originally Posted by CaptainBlack
Not by guessing, exhausive over the ranges involved is not guessing.
And if you don't like exaustive search you can try the following:

$10x+y=3(x+y) \Rightarrow 7x=2y$,

but $7$ and $2$ are prime and so $y$ is a multiple of $7$,
and as $7$ is the only single digit non-zero multiple of $7$
we have $y=7$ and the rest follows.

( $y$ has to be non-zero, as if it were zero $x$ would be zero,
which is not permitted).

RonL
Thanks, nice solution.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 55, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9694846272468567, "perplexity_flag": "middle"}