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

Let's proceed to step 1:
The number 8 fits into 2 0 times, leaving a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 8

Going ahead to step 2:
8 goes into 25 3 times with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 24 from 25, we get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 8

Moving on to step 3:
When dividing 17 by 8, we get 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 32.0
Subtracting 16 from 17 leaves us with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 8

Step 4:
If we divide 12 by 8, we get 1 and a remainder of 4.
The next digit of our result is 1. 
Result so far: 321.0
Subtracting 8 from 12 leaves us with 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 8

Let's proceed to step 5:
If we divide 44 by 8, we get 5 and a remainder of 4.
Record the quotient 5 as the next digit in the result. 
Result so far: 3215.0
Subtract 40 from 44 to get 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 8

Moving on to step 6:
8 goes into 41 5 times with a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 32155.0
Subtract 40 from 41 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
If we divide 10 by 8, we get 1 and a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 32155.1
Subtracting 8 from 10 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.

Let's proceed to step 8:
If we divide 20 by 8, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 32155.12
Subtract 16 from 20 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.

Going ahead to step 9:
40 divided by 8 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 32155.125
If we take 40 away from 40, we end up 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.
Write down 0 as next digit of the result. 
Result so far: 32155.125
If we take 0 away from 0, we end up 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 11:
8 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 32155.125
If we take 0 away from 0, we end up 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 32155.125 and a remainder of 0.0.