We're dividing 176405 by 42 
The aim is to understand the frequency of 42 in 176405.

Moving on to step 1:
When dividing 1 by 42, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 42

Step 2:
17 divided by 42 is 0 with a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Bring next digit (6) of the dividend behind the 17 and repeat the process: 176 / 42

Advancing to step 3:
The number 42 fits into 176 4 times, leaving a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we subtract 168 from 176, we get 8.
Bring next digit (4) of the dividend behind the 8 and repeat the process: 84 / 42

Moving on to step 4:
84 divided by 42 is 2 with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 42.0
Subtracting 84 from 84 leaves us with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 42

Advancing to step 5:
When dividing 0 by 42, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 420.0
Subtract 0 from 0 to get 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 42

Moving on to step 6:
When dividing 5 by 42, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 4200.0
If we subtract 0 from 5, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
The number 42 fits into 50 1 times, leaving a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 4200.1
If we subtract 42 from 50, 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.

Moving on to step 8:
80 divided by 42 is 1 with a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 4200.11
Subtracting 42 from 80 leaves us 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.

Our division results in 4200.11 with a remaining 0.038.