Let's get back on track. My train of thought was: row of Pascal's triangle in linear time; O(n) for Fibonacci ; quick power ; matrix for Fibonacci ; derivation of Fibonacci in O(1) ; almost integers.
I read a little bit about almost integer and, as always jumped from one link to another. There is quite a lot of deep math behind all this stuff. I liked pictures from Eisenstein_series and I heard for the first time about Lucas_number.
Deep math is not my cup of tea, so let's jump from concept to concept and enjoy the connections.
Numerology fascinates me. But not the kind when you add up the codes of the letters in "Napoleon" and get 666, but the kind where you run a divisibility check on 111 and it turns out that 111 is not prime. It is, and suddenly 666 is . Or you find that the period of 1/7 is (142857). Then you add this number to itself and get 285714, 428571 and so on. Or, wait... Here is a rich one. 1/137. It's the fine-structure constant, and it plays quite an important role in the light-matter interaction in physics. 1/137 = 0.0(07299270). First of all, the period is a palindrome. I have no clue how common this property is, but I didn't find any other palindromes in the first 2000 natural numbers. Of course, you can choose anything you want as the period. Like the palindrome made from today's date 111726627111 / 999999999999. It's ugly. As a free gift from 1/137 you have 729=27*27.
All these tricks deal with integers. But what about ?