We look at the division of 978511 by 12 
The aim is to understand the frequency of 12 in 978511.

Let's proceed to step 1:
12 can be fit into 9 0 times, resulting in a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Include the next digit (7) from the dividend after 9, then repeat: 97 / 12

Going ahead to step 2:
The number 12 fits into 97 8 times, leaving a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 96 from 97, we get 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 12

Advancing to step 3:
12 can be fit into 18 1 times, resulting in a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 81.0
Subtracting 12 from 18 leaves us with 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 12

On to step 4:
65 divided by 12 is 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 815.0
Subtracting 60 from 65 leaves us with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 12

Step 5:
51 divided by 12 is 4 with a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 8154.0
If we subtract 48 from 51, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 12

Let's proceed to step 6:
When dividing 31 by 12, we get 2 with a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 81542.0
Subtract 24 from 31 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
The number 12 fits into 70 5 times, leaving a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 81542.5
Deduct 60 from 70 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 12 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 81542.58
Subtract 96 from 100 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.

Moving on to step 9:
12 can be fit into 40 3 times, resulting in a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 81542.583
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.

Advancing to step 10:
12 goes into 40 3 times with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 81542.5833
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.

After the division, we end up with 81542.5833 and a remainder of 4e-05.