We're dividing 596759 by 38 
The aim is to understand the frequency of 38 in 596759.

Going ahead to step 1:
When dividing 5 by 38, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 38

Moving on to step 2:
38 goes into 59 1 times with a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 21 after subtracting 38 from 59.
Bring next digit (6) of the dividend behind the 21 and repeat the process: 216 / 38

Let's proceed to step 3:
216 divided by 38 is 5 with a remainder of 26.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we take 190 away from 216, we end up with 26.
Grab the next digit (7) from the dividend, add it to 26, then carry on: 267 / 38

Advancing to step 4:
If we divide 267 by 38, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 157.0
The remainder is 1 after subtracting 266 from 267.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 38

On to step 5:
15 divided by 38 is 0 with a remainder of 15.
The next digit of our result is 0. 
Result so far: 1570.0
Deduct 0 from 15 and we're left with 15.
Include the next digit (9) from the dividend after 15, then repeat: 159 / 38

Advancing to step 6:
38 can be fit into 159 4 times, resulting in a remainder of 7.
Put 4 as the next digit of the answer. 
Result so far: 15704.0
If we subtract 152 from 159, we 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.

Advancing to step 7:
38 goes into 70 1 times with a remainder of 32.
Record the quotient 1 as the next digit in the result. 
Result so far: 15704.1
Subtract 38 from 70 to get 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:
38 goes into 320 8 times with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 15704.18
If we take 304 away from 320, we end up 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.

Step 9:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 15704.184
If we subtract 152 from 160, we 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.

Advancing to step 10:
The number 38 fits into 80 2 times, leaving a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 15704.1842
Subtracting 76 from 80 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.

Let's proceed to step 11:
The number 38 fits into 40 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 15704.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.

Advancing to step 12:
20 divided by 38 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 15704.18421
Deduct 0 from 20 and we're left 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.

On to step 13:
38 can be fit into 200 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 15704.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.

Moving on to step 14:
The number 38 fits into 100 2 times, leaving a remainder of 24.
The next digit of our result is 2. 
Result so far: 15704.18421052
Subtract 76 from 100 to get 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 15704.18421052 and a remainder of 2.4e-08.