99917 ÷ 9 = 11101 R8
We're going to perform division on 99917 with 9 as the divisor.

Step 1:
9 goes into 9 1 times with a remainder of 0.
Write down 1 as next digit of of the result. 
Result so far: 1
Subtract 9 from 9 to get 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 9

Step 2:
9 goes into 9 1 times with a remainder of 0.
Write down 1 as next digit of of the result. 
Result so far: 11
Subtract 9 from 9 to get 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 9

Step 3:
9 goes into 9 1 times with a remainder of 0.
Write down 1 as next digit of of the result. 
Result so far: 111
Subtract 9 from 9 to get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 9

Step 4:
9 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of of the result. 
Result so far: 1110
Subtract 0 from 1 to get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 9

Step 5:
9 goes into 17 1 times with a remainder of 8.
Write down 1 as next digit of of the result. 
Result so far: 11101
Subtract 9 from 17 to get 8.

The final result is 11101 with a remainder of 8.