We look at the division of 577316 by 42 
The aim is to understand the frequency of 42 in 577316.

Going ahead to step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 42

Advancing to step 2:
When dividing 57 by 42, we get 1 with a remainder of 15.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 42 from 57 to get 15.
Fetch the next digit (7) from the dividend, attach it to 15 and continue: 157 / 42

Let's proceed to step 3:
The number 42 fits into 157 3 times, leaving a remainder of 31.
Write down 3 as next digit of the result. 
Result so far: 13.0
Subtract 126 from 157 to get 31.
Bring next digit (3) of the dividend behind the 31 and repeat the process: 313 / 42

Moving on to step 4:
If we divide 313 by 42, we get 7 and a remainder of 19.
Use 7 as the next digit of our solution. 
Result so far: 137.0
If we take 294 away from 313, we end up with 19.
Include the next digit (1) from the dividend after 19, then repeat: 191 / 42

Advancing to step 5:
191 divided by 42 is 4 with a remainder of 23.
Write down 4 as next digit of the result. 
Result so far: 1374.0
Subtracting 168 from 191 leaves us with 23.
Grab the next digit (6) from the dividend, add it to 23, then carry on: 236 / 42

Advancing to step 6:
42 can be fit into 236 5 times, resulting in a remainder of 26.
Put 5 as the next digit of the answer. 
Result so far: 13745.0
If we take 210 away from 236, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 7:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 13745.6
Subtract 252 from 260 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 13745.61
Deduct 42 from 80 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 9:
If we divide 380 by 42, we get 9 and a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 13745.619
If we take 378 away from 380, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 10:
When dividing 20 by 42, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 13745.619
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 11:
42 goes into 200 4 times with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 13745.61904
Deduct 168 from 200 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 12:
320 divided by 42 is 7 with a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 13745.619047
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 13:
42 goes into 260 6 times with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 13745.6190476
If we subtract 252 from 260, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 14:
42 goes into 80 1 times with a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 13745.61904761
Subtract 42 from 80 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

In conclusion, the division gives 13745.61904761 with a balance of 3.8e-08.