We divide 258939 by 38
The aim is to understand the frequency of 38 in 258939.

On to step 1:
When dividing 2 by 38, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 38

Let's proceed to step 2:
25 divided by 38 is 0 with a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 25 after subtracting 0 from 25.
Include the next digit (8) from the dividend after 25, then repeat: 258 / 38

On to step 3:
The number 38 fits into 258 6 times, leaving a remainder of 30.
The next digit of our result is 6. 
Result so far: 6.0
Deduct 228 from 258 and we're left with 30.
Take the next digit (9) from the dividend and append it to 30, then repeat: 309 / 38

Moving on to step 4:
38 goes into 309 8 times with a remainder of 5.
The number 8 becomes the next digit in our result. 
Result so far: 68.0
Subtracting 304 from 309 leaves us with 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 38

Advancing to step 5:
If we divide 53 by 38, we get 1 and a remainder of 15.
Record the quotient 1 as the next digit in the result. 
Result so far: 681.0
If we take 38 away from 53, we end up with 15.
Fetch the next digit (9) from the dividend, attach it to 15 and continue: 159 / 38

Moving on to step 6:
159 divided by 38 is 4 with a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 6814.0
Subtract 152 from 159 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
38 goes into 70 1 times with a remainder of 32.
The number 1 becomes the next digit in our result. 
Result so far: 6814.1
Subtracting 38 from 70 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 8:
320 divided by 38 is 8 with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 6814.18
Subtracting 304 from 320 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 9:
38 goes into 160 4 times with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 6814.184
If we take 152 away from 160, we end up with 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 10:
If we divide 80 by 38, we get 2 and a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 6814.1842
The remainder is 4 after subtracting 76 from 80.
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 11:
40 divided by 38 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 6814.18421
The remainder is 2 after subtracting 38 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 12:
If we divide 20 by 38, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 6814.18421
Subtract 0 from 20 to 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.

Advancing to step 13:
38 goes into 200 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 6814.1842105
Deduct 190 from 200 and we're left 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.

Let's proceed to step 14:
If we divide 100 by 38, we get 2 and a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 6814.18421052
Deduct 76 from 100 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.

After the division, we end up with 6814.18421052 and a remainder of 2.4e-08.