Name: Antony

Question:
What methodology can I use to generate uniquie 2 digit numbers from unique 7 digit numbers. Of'course the total number of 7-digit numbers is not greater than 99.

Ex:
I have a 7 digit number say -> 1234567

My formula yeilds a 2 digit no say -> 34 ; and no other 7 digit number should yeild the same answer 34.

Hi Anthony,

The simplist method that I can think of is to order the 7 digit numbers and then the two digit number is the position in the ordering. For example if you have {4398567, 6346801, 1762097} then order them

1762097 -> 01
4398567 -> 02
6346801 -> 03

Cheers,
Penny
Go to Math Central