5713145 ÷ 542 
The aim is to understand the frequency of 542 in 5713145.

Going ahead to step 1:
If we divide 5 by 542, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 542

Moving on to step 2:
542 goes into 57 0 times with a remainder of 57.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 57, we get 57.
Append the next digit (1) from the dividend to 57 and continue with: 571 / 542

Let's proceed to step 3:
The number 542 fits into 571 1 times, leaving a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 542 from 571 leaves us with 29.
Include the next digit (3) from the dividend after 29, then repeat: 293 / 542

Advancing to step 4:
542 can be fit into 293 0 times, resulting in a remainder of 293.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 293 and we're left with 293.
Include the next digit (1) from the dividend after 293, then repeat: 2931 / 542

On to step 5:
When dividing 2931 by 542, we get 5 with a remainder of 221.
Use 5 as the next digit of our solution. 
Result so far: 105.0
Deduct 2710 from 2931 and we're left with 221.
Bring next digit (4) of the dividend behind the 221 and repeat the process: 2214 / 542

On to step 6:
The number 542 fits into 2214 4 times, leaving a remainder of 46.
Use 4 as the next digit of our solution. 
Result so far: 1054.0
Deduct 2168 from 2214 and we're left with 46.
Bring next digit (5) of the dividend behind the 46 and repeat the process: 465 / 542

Advancing to step 7:
The number 542 fits into 465 0 times, leaving a remainder of 465.
Use 0 as the next digit of our solution. 
Result so far: 10540.0
The remainder is 465 after subtracting 0 from 465.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4650, and continue the process.

Step 8:
The number 542 fits into 4650 8 times, leaving a remainder of 314.
Write down 8 as next digit of the result. 
Result so far: 10540.8
If we subtract 4336 from 4650, we get 314.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

Advancing to step 9:
3140 divided by 542 is 5 with a remainder of 430.
Record the quotient 5 as the next digit in the result. 
Result so far: 10540.85
If we take 2710 away from 3140, we end up with 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Let's proceed to step 10:
542 can be fit into 4300 7 times, resulting in a remainder of 506.
Write down 7 as next digit of the result. 
Result so far: 10540.857
If we subtract 3794 from 4300, we get 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

Advancing to step 11:
If we divide 5060 by 542, we get 9 and a remainder of 182.
The next digit of our result is 9. 
Result so far: 10540.8579
Subtract 4878 from 5060 to get 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Step 12:
If we divide 1820 by 542, we get 3 and a remainder of 194.
The next digit of our result is 3. 
Result so far: 10540.85793
Subtracting 1626 from 1820 leaves us with 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

Going ahead to step 13:
1940 divided by 542 is 3 with a remainder of 314.
Put 3 as the next digit of the answer. 
Result so far: 10540.857933
Subtracting 1626 from 1940 leaves us with 314.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

The final result is 10540.857933 with a remainder of 3.14e-05.