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

Going ahead to step 1:
If we divide 1 by 6, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 6

Advancing to step 2:
If we divide 16 by 6, we get 2 and a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 12 away from 16, we end up with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 6

Advancing to step 3:
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: 27.0
Subtract 42 from 42 to get 0.
Take the next digit (6) from the dividend and append it to 0, then repeat: 6 / 6

Going ahead to step 4:
6 can be fit into 6 1 times, resulting in a remainder of 0.
The next digit of our result is 1. 
Result so far: 271.0
The remainder is 0 after subtracting 6 from 6.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 6

Let's proceed to step 5:
6 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 2710.0
The remainder is 4 after subtracting 0 from 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 6

Let's proceed to step 6:
The number 6 fits into 45 7 times, leaving a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 27107.0
Subtract 42 from 45 to get 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:
When dividing 30 by 6, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 27107.5
The remainder is 0 after subtracting 30 from 30.
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 8:
6 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 27107.5
The remainder is 0 after subtracting 0 from 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 9:
When dividing 0 by 6, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 27107.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.

Our division results in 27107.5 with a remaining 0.0.