Question 875079
If you have n digits of either 1s or 0s, then you have {{{2^n}}} different strings (in your example, n = 3, {{{2^n = 2^3 = 8}}}). This is if repeats are allowed.