Fibonacci Sequences (fibonacci)

18 teams scored 975 points on this task, for a maximum score of 100, an average score of 54 and a median score of 50.

Highlights

  1. Galilei, Verona is the institute with the most points (100).
  2. Lombardia is the region with the most points (275).

Statement

Valerio is exploring sequences of integers by writing them on a blackboard. He starts a sequence with the numbers 1 and 2. Subsequently, he generates each new number according to one of the following rules: (1) The next number is the sum of the two preceding numbers. (2) The next number is twice the value of the preceding number. Now, Davide has seen the last number M written on the blackboard and is curious about all the possible sequences Valerio could have created. Help Davide figure out how many different sequences Valerio could have written!