News for hackers. Stuff that matters.
Re:Quick - is 91 prime? by Novash on Wednesday March 12, 2008 @03:43PM (#135419)
I knew those already. Studied those as curiosity on Algebra class. Up to 11, but there are rules for up to 17, as far as I know. By the way, took me three seconds to figure it was divisible by 7, using multiplication properties.
Re:Quick - is 91 prime? by eru on Thursday March 13, 2008 @07:39AM (#135883)
Actually you can construct a finite automate (= a rule) - that operates on the digits and checks for divisibility - for any fixed number.