Re:Is this prime?
by jemfinch on Tuesday March 08, 2016 @11:54AM
(#11246495)
Use the test for divisibility by 3: if the sum of the digits is divisible by 3, the number is divisible by 3. 5+1=6, so 51 is divisible by 3.
[ Parent
| on HN ]