Placement AptitudeHardCapgemini · TCS NQT
A sequence has f(1) = 1, f(2) = 3 and f(n) = f(n − 1) + f(n − 2) for n ≥ 3. What is f(8)?
- A. 29
- B. 76
- C. 47
- D. 34
Correct answer: C. 47
The terms are 1, 3, 4, 7, 11, 18, 29, 47, so f(8) = 47. 34 is the 9th Fibonacci number, from starting 1, 1 by mistake.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many terms of the arithmetic progression 3, 7, 11, 15, … are three-digit numbers?
- The 5th term of a geometric progression is 2. What is the product of its first 9 terms?
- Vessel A contains acid and water in the ratio 1 : 3 and vessel B in the ratio 3 : 5. In what ratio must the contents of A and B be mixed…
- Pipes A and B can fill a tank in 10 and 12 hours, and pipe C can empty it in 20 hours. All three are opened together on the empty tank…
- A can finish a job in 10 days and B in 15 days. They work together for 3 days, then A leaves and C joins B, and the two finish the job in…
- In 24 hours, how many times do the hour and minute hands of a clock lie along one straight line (either coinciding or pointing in opposite…