Not only is A6A6A6A6 not prime, but most numbers near it are also not prime (if they would be it would be possible to use a shortcut in the algorythm to test 'near' the number, for example by incrementing or decrementing). Our number is 2795939494. What's in it (factors to the right): 2795939494: 2 83 257 65537 Maybe this seed produced sufficiently random sequences for the OP. It would have taken about 6 hours to run the full sequence in a 20MHz pic (IO time not counted) so I don't think he checked it out 100%. Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist