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

Step 1:
If we divide 7 by 6, we get 1 and a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 6 from 7, we get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 6

Going ahead to step 2:
The number 6 fits into 18 3 times, leaving a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we subtract 18 from 18, we get 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 6

Step 3:
9 divided by 6 is 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 131.0
If we subtract 6 from 9, we get 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 6

Advancing to step 4:
When dividing 30 by 6, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 1315.0
The remainder is 0 after subtracting 30 from 30.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 6

Step 5:
The number 6 fits into 7 1 times, leaving a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 13151.0
Deduct 6 from 7 and we're left with 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 6

Going ahead to step 6:
13 divided by 6 is 2 with a remainder of 1.
The next digit of our result is 2. 
Result so far: 131512.0
Deduct 12 from 13 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
The number 6 fits into 10 1 times, leaving a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 131512.1
If we subtract 6 from 10, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
6 goes into 40 6 times with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 131512.16
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
If we divide 40 by 6, we get 6 and a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 131512.166
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 131512.166, and the remainder is 0.0004.