GATE Computer ScienceHardGATE CS
Let F(0) = 0, F(1) = 1, F(n) = F(n − 1) + F(n − 2). What are the last two decimal digits of F(2024)?
- A. 03
- B. 43
- C. 13
- D. 93
Correct answer: D. 93
The Fibonacci sequence modulo 100 has period 300 (the Pisano period), so F(2024) ≡ F(2024 mod 300) = F(224) (mod 100), which is 93. Direct computation of F(2024) confirms the last two digits are 93.
More Discrete Mathematics questions
- How many different equivalence relations can be defined on a set of 5 elements?
- How many onto (surjective) functions exist from a 5-element set to a 3-element set?
- In how many ways can 6 distinct letters be placed into their 6 addressed envelopes (one per envelope) so that no letter is in its own…
- What is the smallest positive integer x with x ≡ 2 (mod 3), x ≡ 3 (mod 5) and x ≡ 2 (mod 7)?
- How many spanning trees does the complete bipartite graph K₃,₃ have?
- How many binary relations on a 4-element set are both reflexive and symmetric?