Let's divide 535728 by 6
The aim is to understand the frequency of 6 in 535728.

Step 1:
The number 6 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 6

Going ahead to step 2:
53 divided by 6 is 8 with a remainder of 5.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 48 from 53 leaves us with 5.
Append the next digit (5) from the dividend to 5 and continue with: 55 / 6

Advancing to step 3:
If we divide 55 by 6, we get 9 and a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 89.0
If we subtract 54 from 55, we get 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 6

Moving on to step 4:
17 divided by 6 is 2 with a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 892.0
The remainder is 5 after subtracting 12 from 17.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 6

Moving on to step 5:
If we divide 52 by 6, we get 8 and a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 8928.0
Subtract 48 from 52 to get 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 6

Going ahead to step 6:
6 can be fit into 48 8 times, resulting in a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 89288.0
Subtracting 48 from 48 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
If we divide 0 by 6, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 89288.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
When dividing 0 by 6, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 89288.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 89288.0, and the remainder is 0.0.