Ok so it was a nice math puzzle. The Fibonacci sequence problem I think was flawed because after the 8 came 1, then 3, but I knew what you meant. Good job though!
Thanks!