5005 / 5 = 1001 ; 1001 / 11 = 91 ; 91 / 7 = 13
So the prime factors are 5, 7, 11, 13
Therefre the required code is 111357 (answer).
5005|5
1001|7
143|11
13|13
1
So, his code is 111357
5.9m questions
7.7m answers