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

On to step 1:
If we divide 6 by 42, we get 0 and a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 42

On to step 2:
The number 42 fits into 63 1 times, leaving a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 42 from 63 leaves us with 21.
Include the next digit (6) from the dividend after 21, then repeat: 216 / 42

Let's proceed to step 3:
When dividing 216 by 42, we get 5 with a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Subtracting 210 from 216 leaves us with 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 42

Moving on to step 4:
63 divided by 42 is 1 with a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 151.0
If we take 42 away from 63, we end up with 21.
Take the next digit (6) from the dividend and append it to 21, then repeat: 216 / 42

Advancing to step 5:
42 goes into 216 5 times with a remainder of 6.
Record the quotient 5 as the next digit in the result. 
Result so far: 1515.0
The remainder is 6 after subtracting 210 from 216.
Include the next digit (1) from the dividend after 6, then repeat: 61 / 42

On to step 6:
The number 42 fits into 61 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 15151.0
Subtracting 42 from 61 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 7:
When dividing 190 by 42, we get 4 with a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 15151.4
Subtracting 168 from 190 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
If we divide 220 by 42, we get 5 and a remainder of 10.
The next digit of our result is 5. 
Result so far: 15151.45
Deduct 210 from 220 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 9:
When dividing 100 by 42, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 15151.452
The remainder is 16 after subtracting 84 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 10:
If we divide 160 by 42, we get 3 and a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 15151.4523
Subtracting 126 from 160 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 11:
42 goes into 340 8 times with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 15151.45238
If we take 336 away from 340, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 12:
If we divide 40 by 42, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 15151.45238
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 13:
400 divided by 42 is 9 with a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 15151.4523809
If we subtract 378 from 400, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 14:
When dividing 220 by 42, we get 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 15151.45238095
The remainder is 10 after subtracting 210 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 15151.45238095 with a remaining 1e-08.