Skip to main content
1 of 20
user1095108
  • 907
  • 7
  • 19

A silly way to divide by 3 is to change base to 3 and then shift right. Example:

127(10) = 11201(3) 1120(3) = 0 + 2*3 + 1*9 + 1 * 27 = 6 + 9 + 27 = 15 + 27 = 42 

No LUT needed. This is much like user3528438's answer, only he switches to base 16.

user1095108
  • 907
  • 7
  • 19