How many integer solutions of “a” exist for this equation?

$a\times b = 8 \times (a + b)$

I have used Wolfram Alpha and it has given me 14 integer solutions.

But how can we find those solutions ? Which method ?

edit: integer solutions are as following:

$a = [-56, -24, -8, 0, 4, 6, 7, 9, 10, 12, 16, 24, 40, 72]$

$b = [7, 6, 4, 0, -8, -24, -56, 72, 40, 24, 16, 12, 10, 9]$

-

2 Answers

Hint: $$ab-8(a+b)=0 \iff (a-8)(b-8)=64$$

-

the amount of integers can be found this way but finding the exact values of those integers is still bugging me. – Selim Arikan Feb 18 at 13:56
@SelimArikan Use factorization of 64. For example,  $$(a-8)(b-8)=32\cdot 2$$ So one proposed solution of this equation is $a-8=32$, $b-8=2$, so $a=40, b=10$. – tetori Feb 19 at 1:51
thank you for your explanation – Selim Arikan Feb 19 at 7:25

So, $$a=\frac{8b}{b-8}=\frac{8(b-8)+64}{b-8}=8+\frac{64}{b-8}\iff (b-8)\mid64$$

Now, $64=2^6$ has $6+1=7$ positive divisors

So, we have $7$ solutions if we consider the only the positive values of $b-8$.

So, if we include all the non-zero integers, we shall have $2\cdot7=14$ divisors.

Clearly, $b-8\ne0$ else $a$ will be infinite.

So, the values of $b-8$ are $\pm 2^i$ for integer $i\ge0$ and $\le6$

Hence,

if $i=0,b-8=\pm1,b=9,7;$

if $i=1,b-8=\pm2,b=10,6;$

if $i=2,b-8=\pm4,b=12,4;$

if $i=3,b-8=\pm8,b=16,0;$

if $i=4,b-8=\pm16,b=24,-20;$

if $i=5,b-8=\pm32,b=40,-24;$

if $i=6,b-8=\pm64,b=72,-56;$

-

But there are only three negative solutions for a, [-56, -24, -8] and how to find those values ? – Selim Arikan Feb 18 at 12:02
@SelimArikan, observe that we have $7$ negative and $7$ positive values for $b-8$. Sorry for the delay. – lab bhattacharjee Feb 18 at 15:00
thank you for your explanation – Selim Arikan Feb 19 at 7:24
{"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": 27, "mathjax_display_tex": 3, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "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.8442617654800415, "perplexity_flag": "middle"}