Remainder of a 16-bit number divided by 3
I did it :) I made a device that calculates the remainder of a 4-bit number divided by 3 (using truth table and Karnaugh maps) and then connected 4 of them for the 16-bit input, then two more for the resulting 8 bits, and 1 more for the final 4 bits and it is working perfectly! Anyways thank you so much for your help.