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

On to step 1:
46 goes into 2 0 times with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 46

Going ahead to step 2:
29 divided by 46 is 0 with a remainder of 29.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 29 to get 29.
Grab the next digit (9) from the dividend, add it to 29, then carry on: 299 / 46

Advancing to step 3:
When dividing 299 by 46, we get 6 with a remainder of 23.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtracting 276 from 299 leaves us with 23.
Include the next digit (9) from the dividend after 23, then repeat: 239 / 46

Step 4:
239 divided by 46 is 5 with a remainder of 9.
Use 5 as the next digit of our solution. 
Result so far: 65.0
Deduct 230 from 239 and we're left with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 46

Advancing to step 5:
46 goes into 98 2 times with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 652.0
The remainder is 6 after subtracting 92 from 98.
Grab the next digit (1) from the dividend, add it to 6, then carry on: 61 / 46

Moving on to step 6:
If we divide 61 by 46, we get 1 and a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 6521.0
If we subtract 46 from 61, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 7:
46 goes into 150 3 times with a remainder of 12.
The next digit of our result is 3. 
Result so far: 6521.3
The remainder is 12 after subtracting 138 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 8:
46 can be fit into 120 2 times, resulting in a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 6521.32
The remainder is 28 after subtracting 92 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 9:
46 goes into 280 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 6521.326
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.

On to step 10:
46 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 6521.326
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.

On to step 11:
400 divided by 46 is 8 with a remainder of 32.
Write down 8 as next digit of the result. 
Result so far: 6521.32608
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.

Let's proceed to step 12:
46 can be fit into 320 6 times, resulting in a remainder of 44.
The next digit of our result is 6. 
Result so far: 6521.326086
The remainder is 44 after subtracting 276 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 13:
46 can be fit into 440 9 times, resulting in a remainder of 26.
Record the quotient 9 as the next digit in the result. 
Result so far: 6521.3260869
The remainder is 26 after subtracting 414 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 14:
When dividing 260 by 46, we get 5 with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 6521.32608695
If we subtract 230 from 260, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 6521.32608695, with a leftover of 3e-08.