We divide 526045 by 6
The aim is to understand the frequency of 6 in 526045.

Going ahead to step 1:
If we divide 5 by 6, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 6

Step 2:
The number 6 fits into 52 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 8.0
Deduct 48 from 52 and we're left with 4.
Fetch the next digit (6) from the dividend, attach it to 4 and continue: 46 / 6

Moving on to step 3:
6 can be fit into 46 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 87.0
The remainder is 4 after subtracting 42 from 46.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 6

On to step 4:
The number 6 fits into 40 6 times, leaving a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 876.0
Deduct 36 from 40 and we're left with 4.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 6

Going ahead to step 5:
When dividing 44 by 6, we get 7 with a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 8767.0
Deduct 42 from 44 and we're left with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 6

Advancing to step 6:
When dividing 25 by 6, we get 4 with a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 87674.0
If we subtract 24 from 25, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
6 can be fit into 10 1 times, resulting in a remainder of 4.
The next digit of our result is 1. 
Result so far: 87674.1
Subtract 6 from 10 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.

On to step 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 87674.16
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 9:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 87674.166
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 87674.166, with a leftover of 0.0004.