We're dividing 783176 by 6 
The aim is to understand the frequency of 6 in 783176.

On to step 1:
7 divided by 6 is 1 with 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.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 6

Let's proceed to step 2:
6 can be fit into 18 3 times, resulting in a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
The remainder is 0 after subtracting 18 from 18.
Fetch the next digit (3) from the dividend, attach it to 0 and continue: 3 / 6

Step 3:
If we divide 3 by 6, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 130.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 6

Let's proceed to step 4:
31 divided by 6 is 5 with a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 1305.0
Subtracting 30 from 31 leaves us with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 6

Going ahead to step 5:
6 goes into 17 2 times with a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 13052.0
The remainder is 5 after subtracting 12 from 17.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 6

Let's proceed to step 6:
The number 6 fits into 56 9 times, leaving a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 130529.0
If we subtract 54 from 56, we 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.

Step 7:
6 can be fit into 20 3 times, resulting in a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 130529.3
The remainder is 2 after subtracting 18 from 20.
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 8:
The number 6 fits into 20 3 times, leaving a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 130529.33
If we subtract 18 from 20, we 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.

After the division, we end up with 130529.33 and a remainder of 0.002.