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

On to step 1:
3 divided by 8 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 8

Step 2:
8 goes into 36 4 times with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 32 from 36 leaves us with 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 8

Moving on to step 3:
If we divide 45 by 8, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 45.0
If we subtract 40 from 45, we get 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 8

Step 4:
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: 456.0
If we take 48 away from 51, we end up with 3.
Bring next digit (3) of the dividend behind the 3 and repeat the process: 33 / 8

Advancing to step 5:
If we divide 33 by 8, we get 4 and a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 4564.0
Subtracting 32 from 33 leaves us with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 8

Step 6:
The number 8 fits into 10 1 times, leaving a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 45641.0
If we subtract 8 from 10, we 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.

Let's proceed to step 7:
The number 8 fits into 20 2 times, leaving a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 45641.2
If we subtract 16 from 20, 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.

Step 8:
If we divide 40 by 8, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 45641.25
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.

Step 9:
If we divide 0 by 8, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 45641.25
Subtracting 0 from 0 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 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 45641.25
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 result is 45641.25 with a remainder of 0.0.