We're dividing 3999560 by 151 
The aim is to understand the frequency of 151 in 3999560.

Step 1:
The number 151 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 151

Step 2:
If we divide 39 by 151, we get 0 and a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 151

Advancing to step 3:
When dividing 399 by 151, we get 2 with a remainder of 97.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 97 after subtracting 302 from 399.
Append the next digit (9) from the dividend to 97 and continue with: 979 / 151

Advancing to step 4:
151 can be fit into 979 6 times, resulting in a remainder of 73.
Put 6 as the next digit of the answer. 
Result so far: 26.0
Deduct 906 from 979 and we're left with 73.
Fetch the next digit (5) from the dividend, attach it to 73 and continue: 735 / 151

Let's proceed to step 5:
When dividing 735 by 151, we get 4 with a remainder of 131.
Put 4 as the next digit of the answer. 
Result so far: 264.0
If we take 604 away from 735, we end up with 131.
Append the next digit (6) from the dividend to 131 and continue with: 1316 / 151

Let's proceed to step 6:
1316 divided by 151 is 8 with a remainder of 108.
Write down 8 as next digit of the result. 
Result so far: 2648.0
The remainder is 108 after subtracting 1208 from 1316.
Append the next digit (0) from the dividend to 108 and continue with: 1080 / 151

Let's proceed to step 7:
The number 151 fits into 1080 7 times, leaving a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 26487.0
Subtracting 1057 from 1080 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 8:
If we divide 230 by 151, we get 1 and a remainder of 79.
The next digit of our result is 1. 
Result so far: 26487.1
Subtract 151 from 230 to get 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Going ahead to step 9:
790 divided by 151 is 5 with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 26487.15
If we take 755 away from 790, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 10:
151 can be fit into 350 2 times, resulting in a remainder of 48.
Put 2 as the next digit of the answer. 
Result so far: 26487.152
If we take 302 away from 350, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 11:
480 divided by 151 is 3 with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 26487.1523
If we take 453 away from 480, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 12:
270 divided by 151 is 1 with a remainder of 119.
Put 1 as the next digit of the answer. 
Result so far: 26487.15231
If we subtract 151 from 270, we get 119.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

Advancing to step 13:
The number 151 fits into 1190 7 times, leaving a remainder of 133.
The next digit of our result is 7. 
Result so far: 26487.152317
Subtract 1057 from 1190 to get 133.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1330, and continue the process.

Step 14:
The number 151 fits into 1330 8 times, leaving a remainder of 122.
Use 8 as the next digit of our solution. 
Result so far: 26487.1523178
Deduct 1208 from 1330 and we're left with 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Step 15:
If we divide 1220 by 151, we get 8 and a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 26487.15231788
If we subtract 1208 from 1220, 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.

The final result is 26487.15231788 with a remainder of 1.2e-08.