When you say > > start with a base number, say 75, and add You mean base as in the starting number and not base as in base16 or base24 or base75? If that's the case: put 75 into theNum repeat with x = 18 down to 1 add x to theNum if theNum > 254 then exit repeat end if end repeat put theNum Kee