We look at the division of 372227 by 8 
The aim is to understand the frequency of 8 in 372227.

Let's proceed to step 1:
If we divide 3 by 8, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 8

Let's proceed to step 2:
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: 4.0
Subtract 32 from 37 to get 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 8

Step 3:
52 divided by 8 is 6 with a remainder of 4.
The next digit of our result is 6. 
Result so far: 46.0
Subtracting 48 from 52 leaves us with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 8

Moving on to step 4:
42 divided by 8 is 5 with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 465.0
If we subtract 40 from 42, we get 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 8

Going ahead to step 5:
8 goes into 22 2 times with a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 4652.0
Subtract 16 from 22 to get 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 8

Step 6:
The number 8 fits into 67 8 times, leaving a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 46528.0
If we subtract 64 from 67, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
The number 8 fits into 30 3 times, leaving a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 46528.3
The remainder is 6 after subtracting 24 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

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

Advancing to step 9:
If we divide 40 by 8, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 46528.375
Deduct 40 from 40 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.

Let's proceed to step 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 46528.375
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 11:
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: 46528.375
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.

After the division, we end up with 46528.375 and a remainder of 0.0.