We look at the division of 3131 by 51 
The aim is to understand the frequency of 51 in 3131.

On to step 1:
3 divided by 51 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 51

Let's proceed to step 2:
The number 51 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (3) from the dividend, attach it to 31 and continue: 313 / 51

Moving on to step 3:
When dividing 313 by 51, we get 6 with a remainder of 7.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtracting 306 from 313 leaves us with 7.
Include the next digit (1) from the dividend after 7, then repeat: 71 / 51

Advancing to step 4:
The number 51 fits into 71 1 times, leaving a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 61.0
Subtracting 51 from 71 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 5:
When dividing 200 by 51, we get 3 with a remainder of 47.
Use 3 as the next digit of our solution. 
Result so far: 61.3
If we subtract 153 from 200, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Step 6:
51 can be fit into 470 9 times, resulting in a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 61.39
Subtract 459 from 470 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
51 can be fit into 110 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 61.392
Subtract 102 from 110 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 8:
51 goes into 80 1 times with a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 61.3921
Deduct 51 from 80 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 9:
The number 51 fits into 290 5 times, leaving a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 61.39215
The remainder is 35 after subtracting 255 from 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 10:
350 divided by 51 is 6 with a remainder of 44.
The number 6 becomes the next digit in our result. 
Result so far: 61.392156
Subtracting 306 from 350 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 11:
If we divide 440 by 51, we get 8 and a remainder of 32.
Record the quotient 8 as the next digit in the result. 
Result so far: 61.3921568
Deduct 408 from 440 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 12:
If we divide 320 by 51, we get 6 and a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 61.39215686
Deduct 306 from 320 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 61.39215686 and a remainder of 1.4e-08.