News for hackers. Stuff that matters.
Re:Golden powers are nearly integers by tgb on Wednesday March 22, 2017 @06:14PM (#13935505)
I've always enjoyed that formula for the Fibonacci numbers, primarily because it's so unintuitive that the right hand side would actually even be an integer. It's a fun exercise to prove that (without resorting to the fact that the Fibonacci numbers are obviously integers). Hint: start with -1/phi = 1-phi and use phi=(sqrt(5)+1)/2.
Re:Golden powers are nearly integers by btilly on Wednesday March 22, 2017 @07:18PM (#13935983)
That is a special case of an even more amazing result.

Given a polynomial P(x), any expression that can be written as a symmetric polynomial in the roots of P, can be written as a polynomial in the coefficients of P. See https://en.wikipedia.org/wiki/Elementary_symmetric_polynomia... for more.

This applies to arbitrary rings. So if P(x) and Q(x) are both polynomials, then any polynomial which is symmetric in the roots of P(x) and also symmetric in the roots of Q(x) can be written as polynomials in the coefficients of Q(x) and P(x). Therefore, for example, (x-sqrt(2)-sqrt(3))(x-sqrt(2)+sqrt(3))(x+sqrt(2)-sqrt(3))(x+sqrt(2)+sqrt(3)) will work out to be a polynomial in the coefficients of x^2-2 and x^2-3. It will therefore be an integer polynomial with those 4 roots.

This is actually the original way in which people proved that the algebraic integers formed a ring.

Re:Golden powers are nearly integers by jacobolus on Wednesday March 22, 2017 @06:28PM (#13935613)
> start with -1/phi = 1-phi and use phi=(sqrt(5)+1)/2.

This is the same fact twice. (Well, the second part is just one of the two roots of the polynomial equation x^2 = x + 1.)

Re:Golden powers are nearly integers by tgb on Wednesday March 22, 2017 @07:34PM (#13936094)
Doesn't mean you can't use both of them!
Re:Golden powers are nearly integers by nurettin on Wednesday March 22, 2017 @09:14PM (#13936674)
Proof by hindsight!
Re:Golden powers are nearly integers by posterboy on Thursday March 23, 2017 @02:43PM (#13942803)
fact comes from to do ... thoese aren't the same operations being done