We're dividing 814564 by 8 
The aim is to understand the frequency of 8 in 814564.

Let's proceed to step 1:
If we divide 8 by 8, we get 1 and a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 8 from 8 and we're left with 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 8

Going ahead to step 2:
1 divided by 8 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 10.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 8

Moving on to step 3:
The number 8 fits into 14 1 times, leaving a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 101.0
If we subtract 8 from 14, we get 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 8

Moving on to step 4:
When dividing 65 by 8, we get 8 with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 1018.0
Subtract 64 from 65 to get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 8

Going ahead to step 5:
16 divided by 8 is 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 10182.0
If we subtract 16 from 16, we get 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 8

Moving on to step 6:
8 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 101820.0
If we subtract 0 from 4, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 7:
The number 8 fits into 40 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 101820.5
If we subtract 40 from 40, we 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.

Moving on to step 8:
When dividing 0 by 8, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 101820.5
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.

Going ahead to step 9:
8 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 101820.5
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.

The final outcome is 101820.5, with a leftover of 0.0.