Java 7, 142 bytes + 10*47 = 612 == boolean b(char[]b){String d="",e="";for(char c:b){e=Integer.toString(c,2);for(;e.length()<8;e=0+e);d+=e;}return!d.matches(".*(0000|1111).*");} I am using newlines instead of spaces to try to minimize penalty... It doesn't work too well, haha. This can almost certainly be improved but I haven't had time to really go through it more, yet. [Try it online!](https://tio.run/nexus/java-openjdk#lY49a8MwEIZ3/QpVk5QEkX4MoaqGEgh06BQ6hQySfLUNsmTkc0tw/dtdYa/t4BvuON7nuKftra8ddd50HX03dRgmG6MHE4jlrjLpcrViOGOqQ0kKzdgOclOfMc0pcc85Bv0WEEpIEuOCcrd7EDOlQHoIJVZcvBwU6P0WhCq2GtSYAPsU7grZGHQVdJzJDd/n@rnPJeSGCTVO7WLYocE8vmJd0CZ78uXR5WrEQGZzaqmmAb7nhQtF6PnWITQy9ijbDKMP3ErL2ccjy6bH7P@akrlxITL9H/x0WAGfYrQmrTkAsLDm4A90JOP0Cw "Java (OpenJDK 8) – TIO Nexus") <h3>Binary</h3> 01100010011011110110111101101100011001010110000101101110000010100110001000101000011000110110100001100001011100100101101101011101011000100010100101111011010100110111010001110010011010010110111001100111000010100110010000111101001000100010001000101100011001010011110100100010001000100011101101100110011011110111001000101000011000110110100001100001011100100000101001100011001110100110001000101001011110110110010100111101010010010110111001110100011001010110011101100101011100100010111001110100011011110101001101110100011100100110100101101110011001110010100001100011001011000011001000101001001110110110011001101111011100100010100000111011011001010010111001101100011001010110111001100111011101000110100000101000001010010011110000111000001110110110010100111101001100000010101101100101001010010011101101100100001010110011110101100101001110110111110101110010011001010111010001110101011100100110111000100001011001000010111001101101011000010111010001100011011010000110010101110011001010000010001000101110001010100010100000110000001100000011000000110000011111000011000100110001001100010011000100101001001011100010101000100010001010010011101101111101 <br/> <h2>Old bitshifting solution 141 bytes + 10*67 = 811</h2> boolean b(char[]b){ int o=0,p=0,i; for(char c:b){for(i=0;i<8;){if((c&(1<<i++))<1){o=0;p++;}else{p=0;o++;}if(3<o|3<p)return 6<5;}}return 5<6;} [Try it online!](https://tio.run/nexus/java-openjdk#lY6xasMwEIZ3PYXIECRcTIKbECp5KIVunUKnkEFSlUbg6IQstwRVz@5e3I7t4OE4fu77jy8MunOGmk71PX1RzudRA3RWeaKZOat4OGqeifOJQLu6CzhOkBPE6UjMA15vybUr4eRO8OxOjJklW0vpqopzueYZmyJUlSi2623GHwJuCclGwlcjA482DdGTrdyIUn7DRm5FGcOPYJ9UwvUB7o1eUJPtU3T@/XBUaDeJU01b6u3nFBgXhO6vfbKXGoZUB4RT55muNVu8Nos6wRP6P8aoroxzpP@D73cz4GcAreKcgrXazin8gRZSxm8 "Java (OpenJDK 8) – TIO Nexus") <h3>Binary</h3> 011000100110111101101111011011000110010101100001011011100000101001100010001010000110001101101000011000010111001001011011010111010110001000101001011110110000101001101001011011100111010000001010011011110011110100110000001011000111000000111101001100000010110001101001001110110000101001100110011011110111001000101000011000110110100001100001011100100000101001100011001110100110001000101001011110110110011001101111011100100010100001101001001111010011000000111011011010010011110000111000001110110010100101111011011010010110011000101000001010000110001100100110001010000011000100111100001111000110100100101011001010110010100100101001001111000011000100101001011110110110111100111101001100000011101101110000001010110010101100111011011111010110010101101100011100110110010101111011011100000011110100110000001110110110111100101011001010110011101101111101011010010110011000101000001100110011110001101111011111000011001100111100011100000010100101110010011001010111010001110101011100100110111000001010001101100011110000110101001110110111110101111101011100100110010101110100011101010111001001101110000010100011010100111100001101100011101101111101