512882 divided by 12 
The aim is to understand the frequency of 12 in 512882.

Going ahead to step 1:
12 goes into 5 0 times with 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.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 12

Let's proceed to step 2:
12 can be fit into 51 4 times, resulting in a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 48 from 51, we get 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 12

Going ahead to step 3:
12 can be fit into 32 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 42.0
Subtract 24 from 32 to get 8.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 12

Advancing to step 4:
12 goes into 88 7 times with a remainder of 4.
The next digit of our result is 7. 
Result so far: 427.0
If we subtract 84 from 88, we get 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 12

On to step 5:
48 divided by 12 is 4 with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 4274.0
Subtracting 48 from 48 leaves us with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 12

Advancing to step 6:
The number 12 fits into 2 0 times, leaving a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 42740.0
Subtract 0 from 2 to 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.

Moving on to step 7:
12 goes into 20 1 times with a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 42740.1
Subtracting 12 from 20 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
80 divided by 12 is 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 42740.16
If we take 72 away from 80, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
When dividing 80 by 12, we get 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 42740.166
Deduct 72 from 80 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 42740.166 with a remainder of 0.0008.