Let f(n) denote the number of different ways in which the positive integer n can be expressed as the sum of 1s and 2s. For example, f(4)=5, since 4=2+2=2+1+1=1+2+1=1+1+2=1+1+1+1. Note that order of 1s and 2s is important

Mathematics · Permutations and Combinations · Advanced Counting: Inclusion–Exclusion, Functions and Applications

JEE MainsJEE Advanced

Let f(n) denote the number of different ways in which the positive integer n can be expressed as the sum of 1s and 2s. For example, f(4)=5, since 4=2+2=2+1+1=1+2+1=1+1+2=1+1+1+1. Note that order of 1s and 2s is important

Sub-question 1

Taking N = {1, 2, 3, …}, how is f: N → N classified?

Options

Sub-question 2

The value of f(f(6)) is

Options

Sub-question 3

The value of f(6) is

Options

Related questions