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

Moving on to step 1:
4 divided by 42 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 42

Advancing to step 2:
The number 42 fits into 49 1 times, leaving a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 7 after subtracting 42 from 49.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 42

Let's proceed to step 3:
If we divide 78 by 42, we get 1 and a remainder of 36.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we take 42 away from 78, we end up with 36.
Grab the next digit (8) from the dividend, add it to 36, then carry on: 368 / 42

Moving on to step 4:
The number 42 fits into 368 8 times, leaving a remainder of 32.
Use 8 as the next digit of our solution. 
Result so far: 118.0
The remainder is 32 after subtracting 336 from 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 5:
320 divided by 42 is 7 with a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 118.7
Deduct 294 from 320 and we're left 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.

Step 6:
When dividing 260 by 42, we get 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 118.76
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
When dividing 80 by 42, we get 1 with a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 118.761
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.

Going ahead to step 8:
42 can be fit into 380 9 times, resulting in a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 118.7619
Subtracting 378 from 380 leaves us 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.

Advancing to step 9:
When dividing 20 by 42, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 118.7619
Deduct 0 from 20 and we're left 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.

Going ahead to step 10:
If we divide 200 by 42, we get 4 and a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 118.761904
Subtract 168 from 200 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 11:
320 divided by 42 is 7 with a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 118.7619047
If we subtract 294 from 320, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 12:
42 can be fit into 260 6 times, resulting in a remainder of 8.
The next digit of our result is 6. 
Result so far: 118.76190476
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 118.76190476, and the remainder is 8e-09.