2018-09-30 22:01:58 +00:00
---
id: 5900f4201000cf542c50ff33
title: 'Problem 180: Rational zeros of a function of three variables'
2020-11-27 18:02:05 +00:00
challengeType: 5
2019-08-05 16:17:33 +00:00
forumTopicId: 301816
2021-01-13 02:31:00 +00:00
dashedName: problem-180-rational-zeros-of-a-function-of-three-variables
2018-09-30 22:01:58 +00:00
---
2020-11-27 18:02:05 +00:00
# --description--
2021-07-12 14:19:03 +00:00
For any integer $n$, consider the three functions
2020-11-27 18:02:05 +00:00
2021-07-12 14:19:03 +00:00
$$\begin{align}
& f_{1,n}(x,y,z) = x^{n + 1} + y^{n + 1} − z^{n + 1}\\\\
& f_{2,n}(x,y,z) = (xy + yz + zx) \times (x^{n - 1} + y^{n - 1} − z^{n - 1})\\\\
& f_{3,n}(x,y,z) = xyz \times (x^{n - 2} + y^{n - 2} − z^{n - 2})
\end{align}$$
2020-11-27 18:02:05 +00:00
2018-09-30 22:01:58 +00:00
and their combination
2020-11-27 18:02:05 +00:00
2021-07-12 14:19:03 +00:00
$$\begin{align}
& f_n(x,y,z) = f_{1,n}(x,y,z) + f_{2,n}(x,y,z) − f_{3,n}(x,y,z)
\end{align}$$
2020-11-27 18:02:05 +00:00
2021-07-12 14:19:03 +00:00
We call $(x,y,z)$ a golden triple of order $k$ if $x$, $y$, and $z$ are all rational numbers of the form $\frac{a}{b}$ with $0 < a < b ≤ k$ and there is (at least) one integer $n$, so that $f_n(x,y,z) = 0$.
2020-11-27 18:02:05 +00:00
2021-07-12 14:19:03 +00:00
Let $s(x,y,z) = x + y + z$.
2020-11-27 18:02:05 +00:00
2021-07-12 14:19:03 +00:00
Let $t = \frac{u}{v}$ be the sum of all distinct $s(x,y,z)$ for all golden triples $(x,y,z)$ of order 35. All the $s(x,y,z)$ and $t$ must be in reduced form.
2018-09-30 22:01:58 +00:00
2021-07-12 14:19:03 +00:00
Find $u + v$.
2018-09-30 22:01:58 +00:00
2020-11-27 18:02:05 +00:00
# --hints--
2018-09-30 22:01:58 +00:00
2021-07-12 14:19:03 +00:00
`rationalZeros()` should return `285196020571078980` .
2018-09-30 22:01:58 +00:00
2020-11-27 18:02:05 +00:00
```js
2021-07-12 14:19:03 +00:00
assert.strictEqual(rationalZeros(), 285196020571078980);
2018-09-30 22:01:58 +00:00
```
2020-11-27 18:02:05 +00:00
# --seed--
2018-09-30 22:01:58 +00:00
2020-11-27 18:02:05 +00:00
## --seed-contents--
2018-09-30 22:01:58 +00:00
```js
2021-07-12 14:19:03 +00:00
function rationalZeros() {
2020-09-15 16:57:40 +00:00
2018-09-30 22:01:58 +00:00
return true;
}
2021-07-12 14:19:03 +00:00
rationalZeros();
2018-09-30 22:01:58 +00:00
```
2020-11-27 18:02:05 +00:00
# --solutions--
2018-09-30 22:01:58 +00:00
```js
// solution required
```