Generating functions, Fibonacci numbers and rational knots