We look at the division of 152871 by 46 
The aim is to understand the frequency of 46 in 152871.

On to step 1:
If we divide 1 by 46, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 46

Advancing to step 2:
If we divide 15 by 46, we get 0 and a remainder of 15.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 15, we get 15.
Bring next digit (2) of the dividend behind the 15 and repeat the process: 152 / 46

On to step 3:
If we divide 152 by 46, we get 3 and a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
The remainder is 14 after subtracting 138 from 152.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 46

Moving on to step 4:
46 can be fit into 148 3 times, resulting in a remainder of 10.
Write down 3 as next digit of the result. 
Result so far: 33.0
Subtract 138 from 148 to get 10.
Include the next digit (7) from the dividend after 10, then repeat: 107 / 46

Let's proceed to step 5:
46 goes into 107 2 times with a remainder of 15.
Record the quotient 2 as the next digit in the result. 
Result so far: 332.0
Subtracting 92 from 107 leaves us with 15.
Include the next digit (1) from the dividend after 15, then repeat: 151 / 46

Going ahead to step 6:
The number 46 fits into 151 3 times, leaving a remainder of 13.
The next digit of our result is 3. 
Result so far: 3323.0
If we take 138 away from 151, we end up 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.

Let's proceed to step 7:
If we divide 130 by 46, we get 2 and a remainder of 38.
Use 2 as the next digit of our solution. 
Result so far: 3323.2
Subtract 92 from 130 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 8:
When dividing 380 by 46, we get 8 with a remainder of 12.
The next digit of our result is 8. 
Result so far: 3323.28
If we take 368 away from 380, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
120 divided by 46 is 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 3323.282
Deduct 92 from 120 and we're left with 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 10:
46 goes into 280 6 times with a remainder of 4.
The next digit of our result is 6. 
Result so far: 3323.2826
Subtract 276 from 280 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 11:
46 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 3323.2826
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 12:
400 divided by 46 is 8 with a remainder of 32.
Write down 8 as next digit of the result. 
Result so far: 3323.282608
The remainder is 32 after subtracting 368 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 13:
If we divide 320 by 46, we get 6 and a remainder of 44.
Write down 6 as next digit of the result. 
Result so far: 3323.2826086
Subtract 276 from 320 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 14:
If we divide 440 by 46, we get 9 and a remainder of 26.
Use 9 as the next digit of our solution. 
Result so far: 3323.28260869
Subtract 414 from 440 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final outcome is 3323.28260869, with a leftover of 2.6e-08.