A very big thanks to you. The function run perfectly (after python 2.3! installed for enumerate function) If you can, give me more details on the methode or the number's representation. Thanks a lot!