Thank you very much for both of your replies. Yes I must check every number from 1 to 100 and your posts make much more sense than my book does.