tell me why f[2]=2 and not 3 .
suppose 2 person x and y …x goes alone or y goes alone or they they go together
Friends paring problem
if x is going alone then y has to no choice but to go alone and viceversa so both the cases are same cases so number of grouping for n=2 is 2 ([1,1] , [2] )
In case of any doubt feel free to ask
In case you got the answer mark your doubt as resolved