The theorem that 'a number is divisible by 3 if the sum of its digits is divisible by 3' is not valid in base 2 and afaik in no other base than 10. Peter -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu