Russell McMahon wrote: > The information on which numbers within a set of 30 numbers are prime > can be stored in a single 8 bit byte (!) > Obvious enough on consideration. (Only the same 8 numbers within any > given 30 sequentially numbered group are potentially prime). Actually, those are only POSSIBLY prime. As the range of numbers gets larger (for N*30 where N is, say, 100,000,000) there will be even less, so you still have to test to see if it is really prime. --Michael -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist