We look at the division of 10381404 by 413 
The aim is to understand the frequency of 413 in 10381404.

Going ahead to step 1:
413 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 413

Let's proceed to step 2:
The number 413 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Take the next digit (3) from the dividend and append it to 10, then repeat: 103 / 413

Moving on to step 3:
When dividing 103 by 413, we get 0 with a remainder of 103.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 103 to get 103.
Bring next digit (8) of the dividend behind the 103 and repeat the process: 1038 / 413

On to step 4:
413 goes into 1038 2 times with a remainder of 212.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 826 from 1038, we get 212.
Fetch the next digit (1) from the dividend, attach it to 212 and continue: 2121 / 413

Let's proceed to step 5:
2121 divided by 413 is 5 with a remainder of 56.
Put 5 as the next digit of the answer. 
Result so far: 25.0
Deduct 2065 from 2121 and we're left with 56.
Take the next digit (4) from the dividend and append it to 56, then repeat: 564 / 413

Moving on to step 6:
The number 413 fits into 564 1 times, leaving a remainder of 151.
Write down 1 as next digit of the result. 
Result so far: 251.0
If we subtract 413 from 564, we get 151.
Include the next digit (0) from the dividend after 151, then repeat: 1510 / 413

Going ahead to step 7:
The number 413 fits into 1510 3 times, leaving a remainder of 271.
The number 3 becomes the next digit in our result. 
Result so far: 2513.0
The remainder is 271 after subtracting 1239 from 1510.
Take the next digit (4) from the dividend and append it to 271, then repeat: 2714 / 413

Step 8:
When dividing 2714 by 413, we get 6 with a remainder of 236.
Write down 6 as next digit of the result. 
Result so far: 25136.0
Deduct 2478 from 2714 and we're left with 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Step 9:
The number 413 fits into 2360 5 times, leaving a remainder of 295.
Use 5 as the next digit of our solution. 
Result so far: 25136.5
Deduct 2065 from 2360 and we're left with 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

On to step 10:
413 goes into 2950 7 times with a remainder of 59.
The next digit of our result is 7. 
Result so far: 25136.57
The remainder is 59 after subtracting 2891 from 2950.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Step 11:
413 can be fit into 590 1 times, resulting in a remainder of 177.
The number 1 becomes the next digit in our result. 
Result so far: 25136.571
Subtract 413 from 590 to get 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1770, and continue the process.

Advancing to step 12:
1770 divided by 413 is 4 with a remainder of 118.
Record the quotient 4 as the next digit in the result. 
Result so far: 25136.5714
The remainder is 118 after subtracting 1652 from 1770.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Step 13:
413 goes into 1180 2 times with a remainder of 354.
The number 2 becomes the next digit in our result. 
Result so far: 25136.57142
If we subtract 826 from 1180, we get 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

On to step 14:
If we divide 3540 by 413, we get 8 and a remainder of 236.
Write down 8 as next digit of the result. 
Result so far: 25136.571428
Subtract 3304 from 3540 to get 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Step 15:
2360 divided by 413 is 5 with a remainder of 295.
Use 5 as the next digit of our solution. 
Result so far: 25136.5714285
If we take 2065 away from 2360, we end up with 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Going ahead to step 16:
The number 413 fits into 2950 7 times, leaving a remainder of 59.
The next digit of our result is 7. 
Result so far: 25136.57142857
Subtracting 2891 from 2950 leaves us with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

The final outcome is 25136.57142857, with a leftover of 5.9e-08.