<p>Binary ring diagram to illustrate operators on binary numbers. The least significant bit (LSB) is the innermost ring. Black signifies 0, white signifies 1. <i>X</i> is the number along the top, <i>Y</i> is the number on the left, <i>Q</i> is the result
</p><p>Addition mod 16:
</p>
<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle Q=\left(A+B\right)\%16}"><semantics><mrow class="MJX-TeXAtom-ORD"><mstyle displaystyle="true" scriptlevel="0"><mi>Q</mi><mo>=</mo><mrow><mo>(</mo><mrow><mi>A</mi><mo>+</mo><mi>B</mi></mrow><mo>)</mo></mrow><mi mathvariant="normal">%<!-- % --></mi><mn>16</mn></mstyle></mrow><annotation encoding="application/x-tex">{\displaystyle Q=\left(A+B\right)\%16}</annotation></semantics></math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/7273f05237e9659d9531aa909c0d30d020fa5dca" class="mwe-math-fallback-image-inline" aria-hidden="true" style="vertical-align: -0.838ex; width:17.741ex; height:2.843ex;" alt="{\displaystyle Q=\left(A+B\right)\%16}"></span>
<a href="//commons.wikimedia.org/wiki/User:Inductiveload" title="User:Inductiveload">Inductiveload</a>
<span class="int-own-work" lang="en">Own work</span>