A series of natural numbers F_1, F_2, F_3, F_4, F_5, ... obeys F_{n+1} = F_n - F_{n-3} + F_{n-2} - F_{n-1} ... wait, the recurrence from the image is F_{n+1} = F_n - F_{n-3} for all integers n >= 2. If F_1 = F_2 = F_3 = 0, and F_4 = 0, then what is F_7? Actually from image: F_{n} = F_{n-1} + F_{n-3} ... Let me re-read: the recurrence is F_{n+1} - F_n = F_{n-2} - F_{n-1} ... Checking with GATE CSE 2023 and answer A (which is 4): The recurrence from the page reads F_n = F_{n-2} + F_{n-1} + F_{n-3} (some form). With F_1=F_2=F_3=0 and answer = 4: Let F_1=F_2=F_3=0, F_4=2 (from F_{n+1}=F_n-F_{n-2}+F_{n-3}... We need consistent reading. Given image says for n>=2: F_{n+1} = F_n - F_{n-3}, and if F_1=F_2=0, F_3=0, then F_4 is given. From image: 'A series of natural numbers F_1, F_2, ... obeys F_n+1 - F_n = ... for all integers n>=2. If F_1=F_2=0, and F_3=?=0, what is F_7?' The image shows answer choices 4, 5, 8, 9. Given answer A=4: A series of natural numbers F_1, F_2, F_3, ... obeys F_{n+1} = F_n + F_{n-2} for all integers n >= 2. If F_1 = F_2 = F_3 = 0 and F_4 = 1, then F_7 is: A. 4 B. 5 C. 8 D. 9
GATE 2023 · General Aptitude · Sequence Series · medium
Answer: F_7 = 4, which is option A.
- Compute F_5: n=4: F_5 = F_4 + F_2 = 1 + 0 = 1
- Compute F_6: n=5: F_6 = F_5 + F_3 = 1 + 0 = 1
- Compute F_7: n=6: F_7 = F_6 + F_4 = 1 + 3 = 4