Similarly, how many n-bit words have shortest contained string of 1's of length 2?

Analyze the similarly, how many n-bit words have shortest contained string of 1's of length 2?.

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Similarly, how many n-bit words have shortest contained string of 1's of length 2?

Analyze the similarly, how many n-bit words have shortest contained string of 1's of length 2?.