We're dividing 142582 by 51 
The aim is to understand the frequency of 51 in 142582.

Advancing to step 1:
When dividing 1 by 51, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 51

Going ahead to step 2:
The number 51 fits into 14 0 times, leaving a remainder of 14.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 14 and we're left with 14.
Bring next digit (2) of the dividend behind the 14 and repeat the process: 142 / 51

Going ahead to step 3:
The number 51 fits into 142 2 times, leaving a remainder of 40.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 102 away from 142, we end up with 40.
Include the next digit (5) from the dividend after 40, then repeat: 405 / 51

Step 4:
The number 51 fits into 405 7 times, leaving a remainder of 48.
The number 7 becomes the next digit in our result. 
Result so far: 27.0
If we subtract 357 from 405, we get 48.
Bring next digit (8) of the dividend behind the 48 and repeat the process: 488 / 51

Going ahead to step 5:
488 divided by 51 is 9 with a remainder of 29.
The number 9 becomes the next digit in our result. 
Result so far: 279.0
Deduct 459 from 488 and we're left with 29.
Grab the next digit (2) from the dividend, add it to 29, then carry on: 292 / 51

Moving on to step 6:
If we divide 292 by 51, we get 5 and a remainder of 37.
Write down 5 as next digit of the result. 
Result so far: 2795.0
Subtracting 255 from 292 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 7:
If we divide 370 by 51, we get 7 and a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 2795.7
Deduct 357 from 370 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 8:
51 goes into 130 2 times with a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 2795.72
If we subtract 102 from 130, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 9:
51 goes into 280 5 times with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 2795.725
Subtract 255 from 280 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 10:
51 goes into 250 4 times with a remainder of 46.
The number 4 becomes the next digit in our result. 
Result so far: 2795.7254
Deduct 204 from 250 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 11:
If we divide 460 by 51, we get 9 and a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 2795.72549
If we subtract 459 from 460, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 12:
10 divided by 51 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 2795.72549
Subtracting 0 from 10 leaves us 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.

Going ahead to step 13:
The number 51 fits into 100 1 times, leaving a remainder of 49.
The next digit of our result is 1. 
Result so far: 2795.7254901
If we take 51 away from 100, we end up with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Moving on to step 14:
51 can be fit into 490 9 times, resulting in a remainder of 31.
The number 9 becomes the next digit in our result. 
Result so far: 2795.72549019
If we take 459 away from 490, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Our division results in 2795.72549019 with a remaining 3.1e-08.