Let's divide 51276687 by 324
The aim is to understand the frequency of 324 in 51276687.

Step 1:
5 divided by 324 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 324

Step 2:
When dividing 51 by 324, we get 0 with a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 51, we end up with 51.
Take the next digit (2) from the dividend and append it to 51, then repeat: 512 / 324

Advancing to step 3:
If we divide 512 by 324, we get 1 and a remainder of 188.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 324 from 512 leaves us with 188.
Append the next digit (7) from the dividend to 188 and continue with: 1887 / 324

Step 4:
If we divide 1887 by 324, we get 5 and a remainder of 267.
The next digit of our result is 5. 
Result so far: 15.0
If we subtract 1620 from 1887, we get 267.
Bring next digit (6) of the dividend behind the 267 and repeat the process: 2676 / 324

Going ahead to step 5:
When dividing 2676 by 324, we get 8 with a remainder of 84.
Put 8 as the next digit of the answer. 
Result so far: 158.0
The remainder is 84 after subtracting 2592 from 2676.
Append the next digit (6) from the dividend to 84 and continue with: 846 / 324

Going ahead to step 6:
846 divided by 324 is 2 with a remainder of 198.
Record the quotient 2 as the next digit in the result. 
Result so far: 1582.0
Subtracting 648 from 846 leaves us with 198.
Include the next digit (8) from the dividend after 198, then repeat: 1988 / 324

Let's proceed to step 7:
If we divide 1988 by 324, we get 6 and a remainder of 44.
Record the quotient 6 as the next digit in the result. 
Result so far: 15826.0
If we take 1944 away from 1988, we end up with 44.
Include the next digit (7) from the dividend after 44, then repeat: 447 / 324

Let's proceed to step 8:
324 can be fit into 447 1 times, resulting in a remainder of 123.
Write down 1 as next digit of the result. 
Result so far: 158261.0
Deduct 324 from 447 and we're left with 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Moving on to step 9:
The number 324 fits into 1230 3 times, leaving a remainder of 258.
Use 3 as the next digit of our solution. 
Result so far: 158261.3
Subtract 972 from 1230 to get 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

On to step 10:
324 can be fit into 2580 7 times, resulting in a remainder of 312.
The next digit of our result is 7. 
Result so far: 158261.37
Subtracting 2268 from 2580 leaves us with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

On to step 11:
324 can be fit into 3120 9 times, resulting in a remainder of 204.
Record the quotient 9 as the next digit in the result. 
Result so far: 158261.379
The remainder is 204 after subtracting 2916 from 3120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Let's proceed to step 12:
324 can be fit into 2040 6 times, resulting in a remainder of 96.
The next digit of our result is 6. 
Result so far: 158261.3796
If we take 1944 away from 2040, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Let's proceed to step 13:
When dividing 960 by 324, we get 2 with a remainder of 312.
Put 2 as the next digit of the answer. 
Result so far: 158261.37962
If we take 648 away from 960, we end up with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Moving on to step 14:
324 can be fit into 3120 9 times, resulting in a remainder of 204.
Put 9 as the next digit of the answer. 
Result so far: 158261.379629
Subtract 2916 from 3120 to get 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Step 15:
If we divide 2040 by 324, we get 6 and a remainder of 96.
The next digit of our result is 6. 
Result so far: 158261.3796296
If we take 1944 away from 2040, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 16:
The number 324 fits into 960 2 times, leaving a remainder of 312.
Write down 2 as next digit of the result. 
Result so far: 158261.37962962
If we take 648 away from 960, we end up with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

The final outcome is 158261.37962962, with a leftover of 3.12e-07.