We look at the division of 4713588 by 151 
The aim is to understand the frequency of 151 in 4713588.

On to step 1:
4 divided by 151 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 151

Moving on to step 2:
47 divided by 151 is 0 with a remainder of 47.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 47, we get 47.
Append the next digit (1) from the dividend to 47 and continue with: 471 / 151

On to step 3:
151 can be fit into 471 3 times, resulting in a remainder of 18.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 453 from 471 and we're left with 18.
Include the next digit (3) from the dividend after 18, then repeat: 183 / 151

Moving on to step 4:
The number 151 fits into 183 1 times, leaving a remainder of 32.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
The remainder is 32 after subtracting 151 from 183.
Append the next digit (5) from the dividend to 32 and continue with: 325 / 151

Advancing to step 5:
The number 151 fits into 325 2 times, leaving a remainder of 23.
Use 2 as the next digit of our solution. 
Result so far: 312.0
Subtracting 302 from 325 leaves us with 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 151

Advancing to step 6:
238 divided by 151 is 1 with a remainder of 87.
Write down 1 as next digit of the result. 
Result so far: 3121.0
Subtract 151 from 238 to get 87.
Grab the next digit (8) from the dividend, add it to 87, then carry on: 878 / 151

Step 7:
When dividing 878 by 151, we get 5 with a remainder of 123.
The number 5 becomes the next digit in our result. 
Result so far: 31215.0
If we subtract 755 from 878, we get 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Advancing to step 8:
When dividing 1230 by 151, we get 8 with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 31215.8
Deduct 1208 from 1230 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 9:
If we divide 220 by 151, we get 1 and a remainder of 69.
The number 1 becomes the next digit in our result. 
Result so far: 31215.81
Deduct 151 from 220 and we're left with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Step 10:
690 divided by 151 is 4 with a remainder of 86.
The number 4 becomes the next digit in our result. 
Result so far: 31215.814
If we subtract 604 from 690, we get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Step 11:
151 can be fit into 860 5 times, resulting in a remainder of 105.
Put 5 as the next digit of the answer. 
Result so far: 31215.8145
Subtract 755 from 860 to get 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Moving on to step 12:
The number 151 fits into 1050 6 times, leaving a remainder of 144.
Write down 6 as next digit of the result. 
Result so far: 31215.81456
Subtract 906 from 1050 to get 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

On to step 13:
The number 151 fits into 1440 9 times, leaving a remainder of 81.
Use 9 as the next digit of our solution. 
Result so far: 31215.814569
The remainder is 81 after subtracting 1359 from 1440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Step 14:
When dividing 810 by 151, we get 5 with a remainder of 55.
Write down 5 as next digit of the result. 
Result so far: 31215.8145695
If we take 755 away from 810, we end up with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Step 15:
550 divided by 151 is 3 with a remainder of 97.
Record the quotient 3 as the next digit in the result. 
Result so far: 31215.81456953
If we subtract 453 from 550, we get 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

The final result is 31215.81456953 with a remainder of 9.7e-08.