Re:Is this prime?
by sdenton4 on Tuesday March 08, 2016 @11:50AM
(#11246462)
The more general test for eleven is to check that the alternating sum of the digits is zero.
[ Parent
| on HN ]
Counterexample: 209. The even more general test is that the alternating sum of digits is divisible by 11.