536834 divided by 31 
The aim is to understand the frequency of 31 in 536834.

Going ahead to step 1:
31 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 31

Step 2:
53 divided by 31 is 1 with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 31 from 53, we get 22.
Fetch the next digit (6) from the dividend, attach it to 22 and continue: 226 / 31

Moving on to step 3:
The number 31 fits into 226 7 times, leaving a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtracting 217 from 226 leaves us with 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 31

Moving on to step 4:
98 divided by 31 is 3 with a remainder of 5.
The next digit of our result is 3. 
Result so far: 173.0
If we take 93 away from 98, we end up with 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 31

On to step 5:
When dividing 53 by 31, we get 1 with a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 1731.0
If we subtract 31 from 53, we get 22.
Fetch the next digit (4) from the dividend, attach it to 22 and continue: 224 / 31

On to step 6:
224 divided by 31 is 7 with a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 17317.0
Subtracting 217 from 224 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
70 divided by 31 is 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 17317.2
Subtract 62 from 70 to 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.

Step 8:
80 divided by 31 is 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 17317.22
Subtracting 62 from 80 leaves us 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.

The quotient of the division is 17317.22, and the remainder is 0.018.