We're dividing 51782259 by 333 
The aim is to understand the frequency of 333 in 51782259.

On to step 1:
If we divide 5 by 333, 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.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 333

Moving on to step 2:
333 can be fit into 51 0 times, resulting in 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.
Include the next digit (7) from the dividend after 51, then repeat: 517 / 333

Going ahead to step 3:
The number 333 fits into 517 1 times, leaving a remainder of 184.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 184 after subtracting 333 from 517.
Fetch the next digit (8) from the dividend, attach it to 184 and continue: 1848 / 333

Advancing to step 4:
333 can be fit into 1848 5 times, resulting in a remainder of 183.
The next digit of our result is 5. 
Result so far: 15.0
If we take 1665 away from 1848, we end up with 183.
Take the next digit (2) from the dividend and append it to 183, then repeat: 1832 / 333

Moving on to step 5:
When dividing 1832 by 333, we get 5 with a remainder of 167.
The next digit of our result is 5. 
Result so far: 155.0
If we take 1665 away from 1832, we end up with 167.
Take the next digit (2) from the dividend and append it to 167, then repeat: 1672 / 333

Advancing to step 6:
When dividing 1672 by 333, we get 5 with a remainder of 7.
The next digit of our result is 5. 
Result so far: 1555.0
Subtract 1665 from 1672 to get 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 333

Let's proceed to step 7:
The number 333 fits into 75 0 times, leaving a remainder of 75.
The number 0 becomes the next digit in our result. 
Result so far: 15550.0
If we take 0 away from 75, we end up with 75.
Bring next digit (9) of the dividend behind the 75 and repeat the process: 759 / 333

Let's proceed to step 8:
333 goes into 759 2 times with a remainder of 93.
Record the quotient 2 as the next digit in the result. 
Result so far: 155502.0
If we subtract 666 from 759, we get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

On to step 9:
When dividing 930 by 333, we get 2 with a remainder of 264.
Use 2 as the next digit of our solution. 
Result so far: 155502.2
If we take 666 away from 930, we end up with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Advancing to step 10:
If we divide 2640 by 333, we get 7 and a remainder of 309.
Record the quotient 7 as the next digit in the result. 
Result so far: 155502.27
If we subtract 2331 from 2640, we get 309.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3090, and continue the process.

Let's proceed to step 11:
333 goes into 3090 9 times with a remainder of 93.
Record the quotient 9 as the next digit in the result. 
Result so far: 155502.279
If we take 2997 away from 3090, we end up with 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Advancing to step 12:
333 goes into 930 2 times with a remainder of 264.
Put 2 as the next digit of the answer. 
Result so far: 155502.2792
If we subtract 666 from 930, we get 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Going ahead to step 13:
If we divide 2640 by 333, we get 7 and a remainder of 309.
Use 7 as the next digit of our solution. 
Result so far: 155502.27927
Subtract 2331 from 2640 to get 309.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3090, and continue the process.

Going ahead to step 14:
When dividing 3090 by 333, we get 9 with a remainder of 93.
The next digit of our result is 9. 
Result so far: 155502.279279
If we take 2997 away from 3090, we end up with 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

On to step 15:
333 goes into 930 2 times with a remainder of 264.
Put 2 as the next digit of the answer. 
Result so far: 155502.2792792
The remainder is 264 after subtracting 666 from 930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Moving on to step 16:
333 can be fit into 2640 7 times, resulting in a remainder of 309.
Record the quotient 7 as the next digit in the result. 
Result so far: 155502.27927927
Subtracting 2331 from 2640 leaves us with 309.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3090, and continue the process.

The final outcome is 155502.27927927, with a leftover of 3.09e-07.