580254 ÷ 6 
The aim is to understand the frequency of 6 in 580254.

Going ahead to step 1:
6 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 6

Going ahead to step 2:
58 divided by 6 is 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Subtract 54 from 58 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 6

Moving on to step 3:
If we divide 40 by 6, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 96.0
Subtract 36 from 40 to get 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 6

Let's proceed to step 4:
The number 6 fits into 42 7 times, leaving a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 967.0
Deduct 42 from 42 and we're left with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 6

Advancing to step 5:
If we divide 5 by 6, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 9670.0
Subtract 0 from 5 to get 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 6

Advancing to step 6:
6 goes into 54 9 times with a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 96709.0
If we subtract 54 from 54, 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 7:
0 divided by 6 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 96709.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.

Advancing to step 8:
If we divide 0 by 6, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 96709.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.

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