971717 divided by 8 
The aim is to understand the frequency of 8 in 971717.

Going ahead to step 1:
8 goes into 9 1 times with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 1 after subtracting 8 from 9.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 8

Advancing to step 2:
The number 8 fits into 17 2 times, leaving a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Deduct 16 from 17 and we're left with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 8

Advancing to step 3:
8 can be fit into 11 1 times, resulting in a remainder of 3.
The next digit of our result is 1. 
Result so far: 121.0
The remainder is 3 after subtracting 8 from 11.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 8

Moving on to step 4:
If we divide 37 by 8, we get 4 and a remainder of 5.
The next digit of our result is 4. 
Result so far: 1214.0
The remainder is 5 after subtracting 32 from 37.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 8

On to step 5:
If we divide 51 by 8, we get 6 and a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 12146.0
Subtract 48 from 51 to get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 8

Moving on to step 6:
8 goes into 37 4 times with a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 121464.0
The remainder is 5 after subtracting 32 from 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
50 divided by 8 is 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 121464.6
Subtracting 48 from 50 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
If we divide 20 by 8, we get 2 and a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 121464.62
Deduct 16 from 20 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
8 goes into 40 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 121464.625
Subtracting 40 from 40 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
8 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 121464.625
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 11:
The number 8 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 121464.625
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 121464.625 with a balance of 0.0.