We're dividing 36731 by 34 
The aim is to understand the frequency of 34 in 36731.

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

On to step 2:
The number 34 fits into 36 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 34 from 36 to get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 34

Step 3:
34 can be fit into 27 0 times, resulting in a remainder of 27.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Deduct 0 from 27 and we're left with 27.
Include the next digit (3) from the dividend after 27, then repeat: 273 / 34

Going ahead to step 4:
If we divide 273 by 34, we get 8 and a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 108.0
If we subtract 272 from 273, we get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 34

Step 5:
11 divided by 34 is 0 with a remainder of 11.
Use 0 as the next digit of our solution. 
Result so far: 1080.0
Subtract 0 from 11 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 6:
If we divide 110 by 34, we get 3 and a remainder of 8.
Write down 3 as next digit of the result. 
Result so far: 1080.3
If we subtract 102 from 110, 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.

Advancing to step 7:
The number 34 fits into 80 2 times, leaving a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 1080.32
Deduct 68 from 80 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 8:
34 goes into 120 3 times with a remainder of 18.
Record the quotient 3 as the next digit in the result. 
Result so far: 1080.323
The remainder is 18 after subtracting 102 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 9:
34 can be fit into 180 5 times, resulting in a remainder of 10.
The next digit of our result is 5. 
Result so far: 1080.3235
If we subtract 170 from 180, we get 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 10:
When dividing 100 by 34, we get 2 with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 1080.32352
If we take 68 away from 100, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 11:
The number 34 fits into 320 9 times, leaving a remainder of 14.
Record the quotient 9 as the next digit in the result. 
Result so far: 1080.323529
If we subtract 306 from 320, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 12:
34 can be fit into 140 4 times, resulting in a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 1080.3235294
The remainder is 4 after subtracting 136 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 13:
The number 34 fits into 40 1 times, leaving a remainder of 6.
The next digit of our result is 1. 
Result so far: 1080.32352941
Subtract 34 from 40 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.

The final outcome is 1080.32352941, with a leftover of 6e-09.