Originally shared on the public FactorioPrints / Factorio School archive (factorioprints.com · factorio.school). Authorship preserved from the public catalog.
good luck lol
Currently its a 5-bit adder, where in the bottom combinator you define A and B as 5-bit numbers (higher quality means higher value digit)
Output is read on the power pole from the five bits of R and a single legendary 0 as the carry (0s are carries, 1s are A xor B)