We're dividing 840365 by 36 
The aim is to understand the frequency of 36 in 840365.

Step 1:
36 goes into 8 0 times with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 36

Let's proceed to step 2:
The number 36 fits into 84 2 times, leaving a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 72 from 84, we get 12.
Take the next digit (0) from the dividend and append it to 12, then repeat: 120 / 36

Let's proceed to step 3:
36 can be fit into 120 3 times, resulting in a remainder of 12.
Use 3 as the next digit of our solution. 
Result so far: 23.0
Subtracting 108 from 120 leaves us with 12.
Take the next digit (3) from the dividend and append it to 12, then repeat: 123 / 36

On to step 4:
123 divided by 36 is 3 with a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 233.0
Subtract 108 from 123 to get 15.
Include the next digit (6) from the dividend after 15, then repeat: 156 / 36

Moving on to step 5:
156 divided by 36 is 4 with a remainder of 12.
The next digit of our result is 4. 
Result so far: 2334.0
Subtracting 144 from 156 leaves us with 12.
Take the next digit (5) from the dividend and append it to 12, then repeat: 125 / 36

Let's proceed to step 6:
125 divided by 36 is 3 with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 23343.0
The remainder is 17 after subtracting 108 from 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 7:
When dividing 170 by 36, we get 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 23343.4
The remainder is 26 after subtracting 144 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 8:
36 goes into 260 7 times with a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 23343.47
If we take 252 away from 260, we end up 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.

On to step 9:
80 divided by 36 is 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 23343.472
Deduct 72 from 80 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.

Moving on to step 10:
If we divide 80 by 36, we get 2 and a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 23343.4722
If we subtract 72 from 80, 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.

The final result is 23343.4722 with a remainder of 8e-05.