We look at the division of 51272173 by 142 
The aim is to understand the frequency of 142 in 51272173.

On to step 1:
When dividing 5 by 142, we get 0 with a remainder of 5.
The next digit of our result is 0. 
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 / 142

Moving on to step 2:
If we divide 51 by 142, we get 0 and a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Include the next digit (2) from the dividend after 51, then repeat: 512 / 142

Step 3:
142 goes into 512 3 times with a remainder of 86.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 426 from 512 to get 86.
Grab the next digit (7) from the dividend, add it to 86, then carry on: 867 / 142

Going ahead to step 4:
867 divided by 142 is 6 with a remainder of 15.
The next digit of our result is 6. 
Result so far: 36.0
Subtracting 852 from 867 leaves us with 15.
Take the next digit (2) from the dividend and append it to 15, then repeat: 152 / 142

Let's proceed to step 5:
The number 142 fits into 152 1 times, leaving a remainder of 10.
The number 1 becomes the next digit in our result. 
Result so far: 361.0
Subtracting 142 from 152 leaves us with 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 142

On to step 6:
142 goes into 101 0 times with a remainder of 101.
Record the quotient 0 as the next digit in the result. 
Result so far: 3610.0
The remainder is 101 after subtracting 0 from 101.
Include the next digit (7) from the dividend after 101, then repeat: 1017 / 142

Step 7:
142 goes into 1017 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 36107.0
Deduct 994 from 1017 and we're left with 23.
Bring next digit (3) of the dividend behind the 23 and repeat the process: 233 / 142

Moving on to step 8:
142 can be fit into 233 1 times, resulting in a remainder of 91.
Record the quotient 1 as the next digit in the result. 
Result so far: 361071.0
The remainder is 91 after subtracting 142 from 233.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

Going ahead to step 9:
142 can be fit into 910 6 times, resulting in a remainder of 58.
Put 6 as the next digit of the answer. 
Result so far: 361071.6
If we subtract 852 from 910, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Going ahead to step 10:
When dividing 580 by 142, we get 4 with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 361071.64
If we subtract 568 from 580, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 11:
142 goes into 120 0 times with a remainder of 120.
Write down 0 as next digit of the result. 
Result so far: 361071.64
Subtract 0 from 120 to get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Step 12:
1200 divided by 142 is 8 with a remainder of 64.
The next digit of our result is 8. 
Result so far: 361071.6408
Deduct 1136 from 1200 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 13:
640 divided by 142 is 4 with a remainder of 72.
Use 4 as the next digit of our solution. 
Result so far: 361071.64084
Subtract 568 from 640 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 14:
720 divided by 142 is 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 361071.640845
If we subtract 710 from 720, we get 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 15:
142 can be fit into 100 0 times, resulting in a remainder of 100.
Put 0 as the next digit of the answer. 
Result so far: 361071.640845
The remainder is 100 after subtracting 0 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Moving on to step 16:
1000 divided by 142 is 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 361071.64084507
If we subtract 994 from 1000, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 361071.64084507, and the remainder is 6e-09.