And I'm not going to lie, it sounds stupid saying "it's must be right in front of us" all the while this anonymous person is pretty much screaming "factorize d and e and look at farey trees and recursive functions". I personally haven't had time to look into them, but I'm guessing there is something there.