Take the six digits, convert them to three Bytes and save them as such... eg...

Number=990714

Byte1=99
Byte2=07
Byte3=14

You can quickly scan down a huge (sorted) list in EEPROM just comparing Byte1, if it matches go on to Byte2 and if that matches go on to Byte3.