We're dividing 51509918 by 238 
The aim is to understand the frequency of 238 in 51509918.

Step 1:
238 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 238

Step 2:
The number 238 fits into 51 0 times, leaving a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Append the next digit (5) from the dividend to 51 and continue with: 515 / 238

Step 3:
When dividing 515 by 238, we get 2 with a remainder of 39.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 476 from 515 to get 39.
Grab the next digit (0) from the dividend, add it to 39, then carry on: 390 / 238

Moving on to step 4:
The number 238 fits into 390 1 times, leaving a remainder of 152.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
Deduct 238 from 390 and we're left with 152.
Append the next digit (9) from the dividend to 152 and continue with: 1529 / 238

On to step 5:
238 goes into 1529 6 times with a remainder of 101.
Record the quotient 6 as the next digit in the result. 
Result so far: 216.0
The remainder is 101 after subtracting 1428 from 1529.
Fetch the next digit (9) from the dividend, attach it to 101 and continue: 1019 / 238

On to step 6:
If we divide 1019 by 238, we get 4 and a remainder of 67.
The next digit of our result is 4. 
Result so far: 2164.0
Deduct 952 from 1019 and we're left with 67.
Grab the next digit (1) from the dividend, add it to 67, then carry on: 671 / 238

On to step 7:
238 can be fit into 671 2 times, resulting in a remainder of 195.
The next digit of our result is 2. 
Result so far: 21642.0
Subtract 476 from 671 to get 195.
Take the next digit (8) from the dividend and append it to 195, then repeat: 1958 / 238

Let's proceed to step 8:
If we divide 1958 by 238, we get 8 and a remainder of 54.
Put 8 as the next digit of the answer. 
Result so far: 216428.0
If we take 1904 away from 1958, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 9:
238 goes into 540 2 times with a remainder of 64.
The number 2 becomes the next digit in our result. 
Result so far: 216428.2
Subtract 476 from 540 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 10:
If we divide 640 by 238, we get 2 and a remainder of 164.
Record the quotient 2 as the next digit in the result. 
Result so far: 216428.22
If we take 476 away from 640, we end up with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

After the division, we end up with 216428.22 and a remainder of 0.164.