UGC-NET | UGC NET CS 2017 Jan – II | Question 1

Consider a sequence F00 defined as :
F00(0) = 1, F00(1) = 1
F00(n) = 10 ∗ F00(n – 1) + 100
F00(n – 2) for n ≥ 2
Then what shall be the set of values of the sequence F00 ?
(A) (1, 110, 1200)
(B) (1, 110, 600, 1200)
(C) (1, 2, 55, 110, 600, 1200)
(D) (1, 55, 110, 600, 1200)


Answer: (A)

Explanation:

 F00(0) = 1, F00(1) = 1
 F00(n) = 10 ∗ F00(n – 1) + 100
 F00(2) = 10 * F00(1) + 100
 = 10 * 1 + 100
 = 10 + 100
 = 110
Similarly:
F00(3) = 10 * F00(2) + 100
 = 10 * 110 + 100
 = 1100 + 100
 = 1200
The sequence will be (1, 110, 1200).

So, (A) will be the answer.

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.