Pages

Bookmark and Share

Wednesday, October 11, 2017

Non-adjacent subsets

Find the number of subsets of $n$ such that if $i$ does not belong in the subset then either $i+1$ or $i-1$ belongs to the subset. (Hint: use double recursion, use fibonacci series)

No comments:

Post a Comment