We divide 185181 by 42
The aim is to understand the frequency of 42 in 185181.

Advancing to step 1:
If we divide 1 by 42, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 42

Going ahead to step 2:
18 divided by 42 is 0 with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 18 to get 18.
Fetch the next digit (5) from the dividend, attach it to 18 and continue: 185 / 42

On to step 3:
When dividing 185 by 42, we get 4 with a remainder of 17.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 168 away from 185, we end up with 17.
Grab the next digit (1) from the dividend, add it to 17, then carry on: 171 / 42

Moving on to step 4:
42 goes into 171 4 times with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 44.0
If we take 168 away from 171, we end up with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 42

Going ahead to step 5:
When dividing 38 by 42, we get 0 with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 440.0
Subtract 0 from 38 to get 38.
Grab the next digit (1) from the dividend, add it to 38, then carry on: 381 / 42

Advancing to step 6:
381 divided by 42 is 9 with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 4409.0
If we subtract 378 from 381, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
If we divide 30 by 42, we get 0 and a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 4409.0
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
If we divide 300 by 42, we get 7 and a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 4409.07
Subtract 294 from 300 to 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.

Going ahead to step 9:
If we divide 60 by 42, we get 1 and a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 4409.071
Deduct 42 from 60 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 10:
42 goes into 180 4 times with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 4409.0714
The remainder is 12 after subtracting 168 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 11:
The number 42 fits into 120 2 times, leaving a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 4409.07142
Subtract 84 from 120 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 12:
If we divide 360 by 42, we get 8 and a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 4409.071428
The remainder is 24 after subtracting 336 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 13:
42 goes into 240 5 times with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 4409.0714285
Subtracting 210 from 240 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 14:
When dividing 300 by 42, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 4409.07142857
If we subtract 294 from 300, 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.

After the division, we end up with 4409.07142857 and a remainder of 6e-09.