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

On to step 1:
If we divide 4 by 38, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 38

Moving on to step 2:
If we divide 40 by 38, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 38 from 40 to get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 38

Going ahead to step 3:
21 divided by 38 is 0 with a remainder of 21.
The next digit of our result is 0. 
Result so far: 10.0
Deduct 0 from 21 and we're left with 21.
Bring next digit (3) of the dividend behind the 21 and repeat the process: 213 / 38

Going ahead to step 4:
The number 38 fits into 213 5 times, leaving a remainder of 23.
Use 5 as the next digit of our solution. 
Result so far: 105.0
If we take 190 away from 213, we end up with 23.
Fetch the next digit (5) from the dividend, attach it to 23 and continue: 235 / 38

On to step 5:
When dividing 235 by 38, we get 6 with a remainder of 7.
The next digit of our result is 6. 
Result so far: 1056.0
Deduct 228 from 235 and we're left with 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 38

Step 6:
The number 38 fits into 71 1 times, leaving a remainder of 33.
The number 1 becomes the next digit in our result. 
Result so far: 10561.0
The remainder is 33 after subtracting 38 from 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 7:
38 can be fit into 330 8 times, resulting in a remainder of 26.
The number 8 becomes the next digit in our result. 
Result so far: 10561.8
Subtract 304 from 330 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 8:
38 can be fit into 260 6 times, resulting in a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 10561.86
Subtract 228 from 260 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.

On to step 9:
38 can be fit into 320 8 times, resulting in a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 10561.868
The remainder is 16 after subtracting 304 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
160 divided by 38 is 4 with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 10561.8684
Subtract 152 from 160 to 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.

Step 11:
When dividing 80 by 38, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 10561.86842
Deduct 76 from 80 and we're left 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.

Going ahead to step 12:
If we divide 40 by 38, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 10561.868421
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.

Going ahead to step 13:
If we divide 20 by 38, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 10561.868421
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.

Moving on to step 14:
If we divide 200 by 38, we get 5 and a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 10561.86842105
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.

The quotient of the division is 10561.86842105, and the remainder is 1e-08.