38585 divided by 6 
The aim is to understand the frequency of 6 in 38585.

Step 1:
6 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 6

On to step 2:
6 can be fit into 38 6 times, resulting in a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 2 after subtracting 36 from 38.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 6

Moving on to step 3:
6 can be fit into 25 4 times, resulting in a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 64.0
Deduct 24 from 25 and we're left with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 6

Advancing to step 4:
If we divide 18 by 6, we get 3 and a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 643.0
If we take 18 away from 18, we end up with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 6

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

Step 6:
If we divide 50 by 6, we get 8 and a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 6430.8
Subtracting 48 from 50 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
6 can be fit into 20 3 times, resulting in a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 6430.83
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 8:
20 divided by 6 is 3 with a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 6430.833
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

In conclusion, the division gives 6430.833 with a balance of 0.0002.