We look at the division of 508994 by 28 
The aim is to understand the frequency of 28 in 508994.

Going ahead to step 1:
28 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 28

On to step 2:
50 divided by 28 is 1 with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 22 after subtracting 28 from 50.
Bring next digit (8) of the dividend behind the 22 and repeat the process: 228 / 28

Moving on to step 3:
If we divide 228 by 28, we get 8 and a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
If we subtract 224 from 228, we get 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 28

Let's proceed to step 4:
28 can be fit into 49 1 times, resulting in a remainder of 21.
The next digit of our result is 1. 
Result so far: 181.0
If we take 28 away from 49, we end up with 21.
Append the next digit (9) from the dividend to 21 and continue with: 219 / 28

Moving on to step 5:
28 can be fit into 219 7 times, resulting in a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 1817.0
If we take 196 away from 219, we end up with 23.
Grab the next digit (4) from the dividend, add it to 23, then carry on: 234 / 28

On to step 6:
28 can be fit into 234 8 times, resulting in a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 18178.0
Subtracting 224 from 234 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 7:
If we divide 100 by 28, we get 3 and a remainder of 16.
Write down 3 as next digit of the result. 
Result so far: 18178.3
Subtract 84 from 100 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 8:
160 divided by 28 is 5 with a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 18178.35
If we take 140 away from 160, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
28 goes into 200 7 times with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 18178.357
Deduct 196 from 200 and we're left 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.

Moving on to step 10:
28 goes into 40 1 times with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 18178.3571
Subtracting 28 from 40 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 11:
28 goes into 120 4 times with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 18178.35714
Subtract 112 from 120 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 12:
28 can be fit into 80 2 times, resulting in a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 18178.357142
Deduct 56 from 80 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 13:
240 divided by 28 is 8 with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 18178.3571428
Subtract 224 from 240 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 14:
28 goes into 160 5 times with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 18178.35714285
If we subtract 140 from 160, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final result is 18178.35714285 with a remainder of 2e-08.