5/7=a2/2!+a3/3!+a4/4!+a5/5!+a6/6!+a7/7!

given that 0<=ai<i
find all the unknown terms. i could do this question using trial and error but it isn't very nice. any ingenious methods out there?