Runtime's blog

By Runtime, history, 8 years ago, In English

how to solve this Problem

  • Vote: I like it
  • +5
  • Vote: I do not like it

»
8 years ago, # |
  Vote: I like it +6 Vote: I do not like it

Fibonacci numbers are periodical. An upper bound for the period is 6 * modulo. Here is my accepted solution for reference.

»
8 years ago, # |
  Vote: I like it +3 Vote: I do not like it

You can see more about Fibonacci numbers here :)