We're dividing 514788 by 12 
The aim is to understand the frequency of 12 in 514788.

Advancing to step 1:
If we divide 5 by 12, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 12

Let's proceed to step 2:
12 can be fit into 51 4 times, resulting in a remainder of 3.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 48 from 51 to get 3.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 12

On to step 3:
34 divided by 12 is 2 with a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 42.0
The remainder is 10 after subtracting 24 from 34.
Fetch the next digit (7) from the dividend, attach it to 10 and continue: 107 / 12

Let's proceed to step 4:
When dividing 107 by 12, we get 8 with a remainder of 11.
The next digit of our result is 8. 
Result so far: 428.0
Subtracting 96 from 107 leaves us with 11.
Bring next digit (8) of the dividend behind the 11 and repeat the process: 118 / 12

On to step 5:
118 divided by 12 is 9 with a remainder of 10.
Put 9 as the next digit of the answer. 
Result so far: 4289.0
The remainder is 10 after subtracting 108 from 118.
Fetch the next digit (8) from the dividend, attach it to 10 and continue: 108 / 12

Let's proceed to step 6:
If we divide 108 by 12, we get 9 and a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 42899.0
Subtract 108 from 108 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.

Step 7:
12 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: 42899.0
If we take 0 away from 0, we end up with 0.
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:
0 divided by 12 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 42899.0
Deduct 0 from 0 and we're left with 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 outcome is 42899.0, with a leftover of 0.0.