Let's divide 13222857 by 8
The aim is to understand the frequency of 8 in 13222857.

Let's proceed to step 1:
The number 8 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 8

Going ahead to step 2:
8 goes into 13 1 times with a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 8 from 13 leaves us with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 8

Step 3:
The number 8 fits into 52 6 times, leaving a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 16.0
Subtracting 48 from 52 leaves us with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 8

Moving on to step 4:
42 divided by 8 is 5 with a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 165.0
Subtracting 40 from 42 leaves us with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 8

Advancing to step 5:
8 can be fit into 22 2 times, resulting in a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 1652.0
The remainder is 6 after subtracting 16 from 22.
Include the next digit (8) from the dividend after 6, then repeat: 68 / 8

Advancing to step 6:
8 can be fit into 68 8 times, resulting in a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 16528.0
The remainder is 4 after subtracting 64 from 68.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 8

Going ahead to step 7:
The number 8 fits into 45 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 165285.0
If we take 40 away from 45, we end up with 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 8

Let's proceed to step 8:
57 divided by 8 is 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 1652857.0
If we take 56 away from 57, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 9:
If we divide 10 by 8, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 1652857.1
Subtract 8 from 10 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
8 can be fit into 20 2 times, resulting in a remainder of 4.
The next digit of our result is 2. 
Result so far: 1652857.12
Subtracting 16 from 20 leaves us 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.

Step 11:
When dividing 40 by 8, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 1652857.125
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.

Moving on to step 12:
0 divided by 8 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 1652857.125
If we subtract 0 from 0, 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 13:
8 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 1652857.125
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.

The quotient of the division is 1652857.125, and the remainder is 0.0.