42158842 divided by 578 
The aim is to understand the frequency of 578 in 42158842.

Moving on to step 1:
If we divide 4 by 578, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 578

Step 2:
If we divide 42 by 578, we get 0 and a remainder of 42.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 42 leaves us with 42.
Bring next digit (1) of the dividend behind the 42 and repeat the process: 421 / 578

Step 3:
If we divide 421 by 578, we get 0 and a remainder of 421.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 421 after subtracting 0 from 421.
Include the next digit (5) from the dividend after 421, then repeat: 4215 / 578

Let's proceed to step 4:
4215 divided by 578 is 7 with a remainder of 169.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we subtract 4046 from 4215, we get 169.
Append the next digit (8) from the dividend to 169 and continue with: 1698 / 578

Step 5:
578 goes into 1698 2 times with a remainder of 542.
Put 2 as the next digit of the answer. 
Result so far: 72.0
Subtract 1156 from 1698 to get 542.
Take the next digit (8) from the dividend and append it to 542, then repeat: 5428 / 578

Step 6:
When dividing 5428 by 578, we get 9 with a remainder of 226.
Record the quotient 9 as the next digit in the result. 
Result so far: 729.0
Subtract 5202 from 5428 to get 226.
Fetch the next digit (4) from the dividend, attach it to 226 and continue: 2264 / 578

Step 7:
578 goes into 2264 3 times with a remainder of 530.
The number 3 becomes the next digit in our result. 
Result so far: 7293.0
If we take 1734 away from 2264, we end up with 530.
Include the next digit (2) from the dividend after 530, then repeat: 5302 / 578

Moving on to step 8:
578 can be fit into 5302 9 times, resulting in a remainder of 100.
Use 9 as the next digit of our solution. 
Result so far: 72939.0
Deduct 5202 from 5302 and we're left with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Step 9:
578 goes into 1000 1 times with a remainder of 422.
Put 1 as the next digit of the answer. 
Result so far: 72939.1
If we take 578 away from 1000, we end up with 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Step 10:
578 goes into 4220 7 times with a remainder of 174.
Use 7 as the next digit of our solution. 
Result so far: 72939.17
Subtract 4046 from 4220 to get 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

On to step 11:
1740 divided by 578 is 3 with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 72939.173
If we subtract 1734 from 1740, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 12:
If we divide 60 by 578, we get 0 and a remainder of 60.
The number 0 becomes the next digit in our result. 
Result so far: 72939.173
Subtract 0 from 60 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Let's proceed to step 13:
578 can be fit into 600 1 times, resulting in a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 72939.17301
Deduct 578 from 600 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 14:
220 divided by 578 is 0 with a remainder of 220.
Put 0 as the next digit of the answer. 
Result so far: 72939.17301
If we subtract 0 from 220, we get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

On to step 15:
When dividing 2200 by 578, we get 3 with a remainder of 466.
Write down 3 as next digit of the result. 
Result so far: 72939.1730103
Deduct 1734 from 2200 and we're left with 466.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4660, and continue the process.

Moving on to step 16:
4660 divided by 578 is 8 with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 72939.17301038
The remainder is 36 after subtracting 4624 from 4660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

After the division, we end up with 72939.17301038 and a remainder of 3.6e-08.