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

Advancing to step 1:
If we divide 8 by 38, we get 0 and a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 38

Step 2:
81 divided by 38 is 2 with a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 76 from 81 and we're left with 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 38

Step 3:
38 goes into 59 1 times with a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtract 38 from 59 to get 21.
Fetch the next digit (4) from the dividend, attach it to 21 and continue: 214 / 38

On to step 4:
When dividing 214 by 38, we get 5 with a remainder of 24.
Record the quotient 5 as the next digit in the result. 
Result so far: 215.0
Deduct 190 from 214 and we're left with 24.
Take the next digit (0) from the dividend and append it to 24, then repeat: 240 / 38

Moving on to step 5:
240 divided by 38 is 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 2156.0
Subtract 228 from 240 to get 12.
Append the next digit (6) from the dividend to 12 and continue with: 126 / 38

Step 6:
126 divided by 38 is 3 with a remainder of 12.
Record the quotient 3 as the next digit in the result. 
Result so far: 21563.0
Subtract 114 from 126 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 7:
If we divide 120 by 38, we get 3 and a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 21563.3
Subtracting 114 from 120 leaves us 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.

Advancing to step 8:
60 divided by 38 is 1 with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 21563.31
Subtracting 38 from 60 leaves us 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.

On to step 9:
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: 21563.315
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.

On to step 10:
38 goes into 300 7 times with a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 21563.3157
If we subtract 266 from 300, we get 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 11:
The number 38 fits into 340 8 times, leaving a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 21563.31578
Subtracting 304 from 340 leaves us 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.

On to step 12:
When dividing 360 by 38, we get 9 with a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 21563.315789
Subtracting 342 from 360 leaves us 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.

Going ahead to step 13:
38 goes into 180 4 times with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 21563.3157894
Subtract 152 from 180 to get 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 14:
280 divided by 38 is 7 with a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 21563.31578947
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

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