I recently discovered that you can get all the primitive pythagorean triples with this neat formula known as Euclid's formula $$a = m^2 - n^2, b = 2mn, c = m^2 + n^2$$ Where, m and n are co-prime and each having a different parity, that is one is odd and the other is even. PrimitivePythagoreanTriples
I am curious to know if it is possible to find such a formula for cubes that is an expression with 2 numbers or multiple numbers $(x_1, x_2, x_3, ...)$ such that setting $ a, b, c, d $ respectively with the expressions satisfies $a^3 + b^3 + c^3 = d^3$ if it does exist can such expressions exist for any integral power n, such that $ a_1^n + a_2^n + a_3^n + ... + a_n^n = b^n$.