We're dividing 50312942 by 401 
The aim is to understand the frequency of 401 in 50312942.

Let's proceed to step 1:
If we divide 5 by 401, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 401

Step 2:
The number 401 fits into 50 0 times, leaving a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Append the next digit (3) from the dividend to 50 and continue with: 503 / 401

On to step 3:
If we divide 503 by 401, we get 1 and a remainder of 102.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 401 from 503, we get 102.
Bring next digit (1) of the dividend behind the 102 and repeat the process: 1021 / 401

Moving on to step 4:
401 goes into 1021 2 times with a remainder of 219.
Use 2 as the next digit of our solution. 
Result so far: 12.0
If we subtract 802 from 1021, we get 219.
Grab the next digit (2) from the dividend, add it to 219, then carry on: 2192 / 401

Let's proceed to step 5:
The number 401 fits into 2192 5 times, leaving a remainder of 187.
Record the quotient 5 as the next digit in the result. 
Result so far: 125.0
Subtracting 2005 from 2192 leaves us with 187.
Bring next digit (9) of the dividend behind the 187 and repeat the process: 1879 / 401

Going ahead to step 6:
401 goes into 1879 4 times with a remainder of 275.
The number 4 becomes the next digit in our result. 
Result so far: 1254.0
If we take 1604 away from 1879, we end up with 275.
Bring next digit (4) of the dividend behind the 275 and repeat the process: 2754 / 401

Advancing to step 7:
If we divide 2754 by 401, we get 6 and a remainder of 348.
Write down 6 as next digit of the result. 
Result so far: 12546.0
Subtract 2406 from 2754 to get 348.
Fetch the next digit (2) from the dividend, attach it to 348 and continue: 3482 / 401

Advancing to step 8:
If we divide 3482 by 401, we get 8 and a remainder of 274.
Record the quotient 8 as the next digit in the result. 
Result so far: 125468.0
Deduct 3208 from 3482 and we're left with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Going ahead to step 9:
If we divide 2740 by 401, we get 6 and a remainder of 334.
The number 6 becomes the next digit in our result. 
Result so far: 125468.6
If we take 2406 away from 2740, we end up with 334.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

Let's proceed to step 10:
401 can be fit into 3340 8 times, resulting in a remainder of 132.
The number 8 becomes the next digit in our result. 
Result so far: 125468.68
Deduct 3208 from 3340 and we're left with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Advancing to step 11:
If we divide 1320 by 401, we get 3 and a remainder of 117.
The number 3 becomes the next digit in our result. 
Result so far: 125468.683
Deduct 1203 from 1320 and we're left with 117.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1170, and continue the process.

Step 12:
401 can be fit into 1170 2 times, resulting in a remainder of 368.
Record the quotient 2 as the next digit in the result. 
Result so far: 125468.6832
Subtract 802 from 1170 to get 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Moving on to step 13:
3680 divided by 401 is 9 with a remainder of 71.
The next digit of our result is 9. 
Result so far: 125468.68329
Deduct 3609 from 3680 and we're left with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Moving on to step 14:
401 can be fit into 710 1 times, resulting in a remainder of 309.
Record the quotient 1 as the next digit in the result. 
Result so far: 125468.683291
Deduct 401 from 710 and we're left with 309.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3090, and continue the process.

Moving on to step 15:
When dividing 3090 by 401, we get 7 with a remainder of 283.
The number 7 becomes the next digit in our result. 
Result so far: 125468.6832917
Subtract 2807 from 3090 to get 283.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2830, and continue the process.

Going ahead to step 16:
401 goes into 2830 7 times with a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 125468.68329177
Subtract 2807 from 2830 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The final result is 125468.68329177 with a remainder of 2.3e-08.