Let's divide 7017390 by 401
The aim is to understand the frequency of 401 in 7017390.

Let's proceed to step 1:
When dividing 7 by 401, we get 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Take the next digit (0) from the dividend and append it to 7, then repeat: 70 / 401

Step 2:
When dividing 70 by 401, we get 0 with a remainder of 70.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 70 after subtracting 0 from 70.
Bring next digit (1) of the dividend behind the 70 and repeat the process: 701 / 401

Advancing to step 3:
401 goes into 701 1 times with a remainder of 300.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 401 from 701 to get 300.
Fetch the next digit (7) from the dividend, attach it to 300 and continue: 3007 / 401

Let's proceed to step 4:
When dividing 3007 by 401, we get 7 with a remainder of 200.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Deduct 2807 from 3007 and we're left with 200.
Fetch the next digit (3) from the dividend, attach it to 200 and continue: 2003 / 401

Going ahead to step 5:
2003 divided by 401 is 4 with a remainder of 399.
Record the quotient 4 as the next digit in the result. 
Result so far: 174.0
Subtracting 1604 from 2003 leaves us with 399.
Include the next digit (9) from the dividend after 399, then repeat: 3999 / 401

Going ahead to step 6:
3999 divided by 401 is 9 with a remainder of 390.
The next digit of our result is 9. 
Result so far: 1749.0
If we take 3609 away from 3999, we end up with 390.
Include the next digit (0) from the dividend after 390, then repeat: 3900 / 401

Let's proceed to step 7:
401 goes into 3900 9 times with a remainder of 291.
Write down 9 as next digit of the result. 
Result so far: 17499.0
The remainder is 291 after subtracting 3609 from 3900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2910, and continue the process.

On to step 8:
If we divide 2910 by 401, we get 7 and a remainder of 103.
Write down 7 as next digit of the result. 
Result so far: 17499.7
If we take 2807 away from 2910, we end up with 103.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

Step 9:
401 goes into 1030 2 times with a remainder of 228.
Use 2 as the next digit of our solution. 
Result so far: 17499.72
The remainder is 228 after subtracting 802 from 1030.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Advancing to step 10:
2280 divided by 401 is 5 with a remainder of 275.
Record the quotient 5 as the next digit in the result. 
Result so far: 17499.725
If we subtract 2005 from 2280, we get 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2750, and continue the process.

Advancing to step 11:
If we divide 2750 by 401, we get 6 and a remainder of 344.
Put 6 as the next digit of the answer. 
Result so far: 17499.7256
Deduct 2406 from 2750 and we're left with 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Advancing to step 12:
3440 divided by 401 is 8 with a remainder of 232.
Write down 8 as next digit of the result. 
Result so far: 17499.72568
Deduct 3208 from 3440 and we're left with 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Going ahead to step 13:
If we divide 2320 by 401, we get 5 and a remainder of 315.
Use 5 as the next digit of our solution. 
Result so far: 17499.725685
Deduct 2005 from 2320 and we're left with 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

Going ahead to step 14:
3150 divided by 401 is 7 with a remainder of 343.
Put 7 as the next digit of the answer. 
Result so far: 17499.7256857
If we take 2807 away from 3150, we end up with 343.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3430, and continue the process.

Advancing to step 15:
401 can be fit into 3430 8 times, resulting in a remainder of 222.
Record the quotient 8 as the next digit in the result. 
Result so far: 17499.72568578
If we take 3208 away from 3430, we end up with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Our division results in 17499.72568578 with a remaining 2.22e-07.