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

Let's proceed to step 1:
If we divide 3 by 38, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 38

Going ahead to step 2:
The number 38 fits into 39 1 times, leaving a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 38 from 39, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 38

Let's proceed to step 3:
When dividing 17 by 38, we get 0 with a remainder of 17.
The next digit of our result is 0. 
Result so far: 10.0
If we take 0 away from 17, we end up with 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 38

Advancing to step 4:
38 goes into 176 4 times with a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 104.0
The remainder is 24 after subtracting 152 from 176.
Include the next digit (1) from the dividend after 24, then repeat: 241 / 38

Moving on to step 5:
The number 38 fits into 241 6 times, leaving a remainder of 13.
Put 6 as the next digit of the answer. 
Result so far: 1046.0
Subtract 228 from 241 to get 13.
Include the next digit (9) from the dividend after 13, then repeat: 139 / 38

Advancing to step 6:
When dividing 139 by 38, we get 3 with a remainder of 25.
Put 3 as the next digit of the answer. 
Result so far: 10463.0
Subtract 114 from 139 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 7:
38 goes into 250 6 times with a remainder of 22.
Write down 6 as next digit of the result. 
Result so far: 10463.6
If we take 228 away from 250, 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.

Advancing to step 8:
38 can be fit into 220 5 times, resulting in a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 10463.65
Subtracting 190 from 220 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 9:
If we divide 300 by 38, we get 7 and a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 10463.657
The remainder is 34 after subtracting 266 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 10:
If we divide 340 by 38, we get 8 and a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 10463.6578
Deduct 304 from 340 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 11:
360 divided by 38 is 9 with a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 10463.65789
Deduct 342 from 360 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 12:
When dividing 180 by 38, we get 4 with a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 10463.657894
Deduct 152 from 180 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 13:
When dividing 280 by 38, we get 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 10463.6578947
If we take 266 away from 280, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 14:
The number 38 fits into 140 3 times, leaving a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 10463.65789473
Subtracting 114 from 140 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final result is 10463.65789473 with a remainder of 2.6e-08.