We divide 342061 by 4
The aim is to understand the frequency of 4 in 342061.

Advancing to step 1:
If we divide 3 by 4, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 4

Let's proceed to step 2:
4 can be fit into 34 8 times, resulting in a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 8.0
If we subtract 32 from 34, we get 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 4

Let's proceed to step 3:
4 goes into 22 5 times with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 85.0
If we subtract 20 from 22, we get 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 4

Advancing to step 4:
4 can be fit into 20 5 times, resulting in a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 855.0
Subtract 20 from 20 to get 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 4

Advancing to step 5:
6 divided by 4 is 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 8551.0
If we take 4 away from 6, we end up with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 4

Going ahead to step 6:
If we divide 21 by 4, we get 5 and a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 85515.0
If we subtract 20 from 21, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
When dividing 10 by 4, we get 2 with a remainder of 2.
The next digit of our result is 2. 
Result so far: 85515.2
If we subtract 8 from 10, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
20 divided by 4 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 85515.25
Deduct 20 from 20 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 85515.25
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
4 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 85515.25
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 85515.25, and the remainder is 0.0.