gotta question for you guys that i can't seem to get a grapple on...

there is a 19 digit code that consists of 1's and 0's and starts with the number 1, (its first digit is 1)

how many combinations of this 19 digit code carry three or more repeating digits, or, 5 or more 0's or 1's than its counterpart? (5 or more 1's than 0's or 5 or more 0's than 1's), a +5 or more count on the other digit

remember it must start with a 1

examples of positive cases

1...000......

1.......111......

11011011011.....

i've been working on this problem all day any help is appreciated!

thanks