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

On to step 1:
8 divided by 6 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 2 after subtracting 6 from 8.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 6

On to step 2:
27 divided by 6 is 4 with a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we subtract 24 from 27, we get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 6

Step 3:
When dividing 37 by 6, we get 6 with a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 146.0
Subtract 36 from 37 to get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 6

Let's proceed to step 4:
6 can be fit into 12 2 times, resulting in a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 1462.0
If we take 12 away from 12, we end up with 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 6

Let's proceed to step 5:
When dividing 6 by 6, we get 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 14621.0
If we subtract 6 from 6, we get 0.
Grab the next digit (3) from the dividend, add it to 0, then carry on: 3 / 6

Step 6:
6 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 146210.0
If we take 0 away from 3, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
If we divide 30 by 6, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 146210.5
If we subtract 30 from 30, 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.

Moving on to step 8:
When dividing 0 by 6, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 146210.5
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.

Going ahead to step 9:
0 divided by 6 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 146210.5
Subtract 0 from 0 to 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 final result is 146210.5 with a remainder of 0.0.