Let's divide 56746165 by 38
The aim is to understand the frequency of 38 in 56746165.

On to step 1:
If we divide 5 by 38, we get 0 and 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.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 38

Moving on to step 2:
38 goes into 56 1 times with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 18 after subtracting 38 from 56.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 38

Going ahead to step 3:
38 can be fit into 187 4 times, resulting in a remainder of 35.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we take 152 away from 187, we end up with 35.
Fetch the next digit (4) from the dividend, attach it to 35 and continue: 354 / 38

Step 4:
If we divide 354 by 38, we get 9 and a remainder of 12.
Write down 9 as next digit of the result. 
Result so far: 149.0
Subtract 342 from 354 to get 12.
Bring next digit (6) of the dividend behind the 12 and repeat the process: 126 / 38

Going ahead to step 5:
The number 38 fits into 126 3 times, leaving a remainder of 12.
The number 3 becomes the next digit in our result. 
Result so far: 1493.0
If we take 114 away from 126, we end up with 12.
Take the next digit (1) from the dividend and append it to 12, then repeat: 121 / 38

Moving on to step 6:
38 can be fit into 121 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 14933.0
If we subtract 114 from 121, we get 7.
Fetch the next digit (6) from the dividend, attach it to 7 and continue: 76 / 38

Step 7:
38 can be fit into 76 2 times, resulting in a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 149332.0
Subtract 76 from 76 to get 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 38

Going ahead to step 8:
38 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 1493320.0
The remainder is 5 after subtracting 0 from 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 9:
When dividing 50 by 38, we get 1 with a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 1493320.1
Deduct 38 from 50 and we're left 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.

On to step 10:
If we divide 120 by 38, we get 3 and a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 1493320.13
If we take 114 away from 120, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 11:
If we divide 60 by 38, we get 1 and a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 1493320.131
If we take 38 away from 60, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 12:
If we divide 220 by 38, we get 5 and a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 1493320.1315
Subtract 190 from 220 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 13:
38 goes into 300 7 times with a remainder of 34.
The next digit of our result is 7. 
Result so far: 1493320.13157
Deduct 266 from 300 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 14:
340 divided by 38 is 8 with a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 1493320.131578
The remainder is 36 after subtracting 304 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 15:
If we divide 360 by 38, we get 9 and a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 1493320.1315789
The remainder is 18 after subtracting 342 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 16:
The number 38 fits into 180 4 times, leaving a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 1493320.13157894
The remainder is 28 after subtracting 152 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final outcome is 1493320.13157894, with a leftover of 2.8e-08.