3 ms·
From: http://quaxio.com/triple/ http://quaxio.com/triple/ ^([0369]|[258][0369]*[147]|[147]([0369]|[147][0369]*[258])*[258]|[258][0369]*[258]([0369]|[147][0
by dudus 13y ago
From: http://quaxio.com/triple/ http://quaxio.com/triple/
^([0369]|[258][0369]*[147]|[147]([0369]|[147][0369]*[258])*[258]|[258][0369]*[258]([0369]|[147][0369]*[258])*[258]|[147]([0369]|[147][0369]*[258])*[147][0369]*[147]|[258][0369]*[258]([0369]|[147][0369]*[258])*[147][0369]*[147])*$
- moron4hire 13y ago569pts: ([^31]0|31|[017]2|[03]03|[^1]4|(900|01|7)5|6|[48]7|[57]8|09)$
- raverbashing 13y agoThe 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