We divide 51154 by 8
The aim is to understand the frequency of 8 in 51154.

Let's proceed to step 1:
8 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 8

On to step 2:
51 divided by 8 is 6 with a remainder of 3.
The next digit of our result is 6. 
Result so far: 6.0
Subtracting 48 from 51 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 8

Going ahead to step 3:
If we divide 31 by 8, we get 3 and a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 63.0
Deduct 24 from 31 and we're left with 7.
Fetch the next digit (5) from the dividend, attach it to 7 and continue: 75 / 8

Let's proceed to step 4:
If we divide 75 by 8, we get 9 and a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 639.0
Subtract 72 from 75 to get 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 8

On to step 5:
The number 8 fits into 34 4 times, leaving a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 6394.0
If we take 32 away from 34, we end up 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.

On to step 6:
8 can be fit into 20 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 6394.2
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.

Going ahead to step 7:
40 divided by 8 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 6394.25
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 8:
0 divided by 8 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 6394.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.

Step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 6394.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 6394.25 with a remainder of 0.0.