News for hackers. Stuff that matters.
Re:Regex Golf by raverbashing on Saturday December 21, 2013 @10:36AM (#6946874)
The idea is as thus:

Remember division rules? If the sum of digits is divisible by 3, then the number is divisible by 3

So, if you have 0, 3, 6, 9, it's as you can remove them, the value won't change

Remaining are the 2, 3, etc digit numbers divisible by 3

There are no comments on this comment yet.