Skip to main content
deleted 404 characters in body
Source Link
lyxal
  • 34.3k
  • 2
  • 64
  • 141

Vyxal, 5245 bitsv2, 65.5625 bytes

Πz11=∑ǍbzvΠ∑Ǎ

Try it Online!Try it Online!

Bitstring:

1111111110001000111001011000011001110100101101111101

Explained

Πz11=∑Ǎ­⁡​‎‎⁡⁠⁡‏‏​⁡⁠⁡‌⁢​‎‎⁡⁠⁢‏‏​⁡⁠⁡‌⁣​‎‎⁡⁠⁣‏⁠‎⁡⁠⁤‏⁠‎⁡⁠⁢⁡‏‏​⁡⁠⁡‌⁤​‎‎⁡⁠⁢⁢‏‏​⁡⁠⁡‌⁢⁡​‎‎⁡⁠⁢⁣‏‏​⁡⁠⁡‌­
Π        # ‎⁡Convert input to a binary string
 z       # ‎⁢Overlapping pairs
  11=    # ‎⁣Does each equal 11?
     ∑   # ‎⁤Summate that
      Ǎ  # ‎⁢⁡-1 ** that
💎011100100001001101011110010110110000010001101

Created with the help of Luminespire.

Vyxal, 52 bitsv2, 6.5 bytes

Πz11=∑Ǎ

Try it Online!

Bitstring:

1111111110001000111001011000011001110100101101111101

Explained

Πz11=∑Ǎ­⁡​‎‎⁡⁠⁡‏‏​⁡⁠⁡‌⁢​‎‎⁡⁠⁢‏‏​⁡⁠⁡‌⁣​‎‎⁡⁠⁣‏⁠‎⁡⁠⁤‏⁠‎⁡⁠⁢⁡‏‏​⁡⁠⁡‌⁤​‎‎⁡⁠⁢⁢‏‏​⁡⁠⁡‌⁢⁡​‎‎⁡⁠⁢⁣‏‏​⁡⁠⁡‌­
Π        # ‎⁡Convert input to a binary string
 z       # ‎⁢Overlapping pairs
  11=    # ‎⁣Does each equal 11?
     ∑   # ‎⁤Summate that
      Ǎ  # ‎⁢⁡-1 ** that
💎

Created with the help of Luminespire.

Vyxal, 45 bitsv2, 5.625 bytes

bzvΠ∑Ǎ

Try it Online!

Bitstring:

011100100001001101011110010110110000010001101
added 398 characters in body
Source Link
lyxal
  • 34.3k
  • 2
  • 64
  • 141

Vyxal, 52 bitsv2, 6.5 bytes

Πz11=∑Ǎ

Try it Online!

Bitstring:

1111111110001000111001011000011001110100101101111101

Explained

Πz11=∑Ǎ­⁡​‎‎⁡⁠⁡‏‏​⁡⁠⁡‌⁢​‎‎⁡⁠⁢‏‏​⁡⁠⁡‌⁣​‎‎⁡⁠⁣‏⁠‎⁡⁠⁤‏⁠‎⁡⁠⁢⁡‏‏​⁡⁠⁡‌⁤​‎‎⁡⁠⁢⁢‏‏​⁡⁠⁡‌⁢⁡​‎‎⁡⁠⁢⁣‏‏​⁡⁠⁡‌­
Π        # ‎⁡Convert input to a binary string
 z       # ‎⁢Overlapping pairs
  11=    # ‎⁣Does each equal 11?
     ∑   # ‎⁤Summate that
      Ǎ  # ‎⁢⁡-1 ** that
💎

Created with the help of Luminespire.

Vyxal, 52 bitsv2, 6.5 bytes

Πz11=∑Ǎ

Try it Online!

Bitstring:

1111111110001000111001011000011001110100101101111101

Vyxal, 52 bitsv2, 6.5 bytes

Πz11=∑Ǎ

Try it Online!

Bitstring:

1111111110001000111001011000011001110100101101111101

Explained

Πz11=∑Ǎ­⁡​‎‎⁡⁠⁡‏‏​⁡⁠⁡‌⁢​‎‎⁡⁠⁢‏‏​⁡⁠⁡‌⁣​‎‎⁡⁠⁣‏⁠‎⁡⁠⁤‏⁠‎⁡⁠⁢⁡‏‏​⁡⁠⁡‌⁤​‎‎⁡⁠⁢⁢‏‏​⁡⁠⁡‌⁢⁡​‎‎⁡⁠⁢⁣‏‏​⁡⁠⁡‌­
Π        # ‎⁡Convert input to a binary string
 z       # ‎⁢Overlapping pairs
  11=    # ‎⁣Does each equal 11?
     ∑   # ‎⁤Summate that
      Ǎ  # ‎⁢⁡-1 ** that
💎

Created with the help of Luminespire.

Source Link
lyxal
  • 34.3k
  • 2
  • 64
  • 141

Vyxal, 52 bitsv2, 6.5 bytes

Πz11=∑Ǎ

Try it Online!

Bitstring:

1111111110001000111001011000011001110100101101111101