24270107 divided by 398 
The aim is to understand the frequency of 398 in 24270107.

Step 1:
If we divide 2 by 398, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 398

Advancing to step 2:
The number 398 fits into 24 0 times, leaving a remainder of 24.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 24 to get 24.
Append the next digit (2) from the dividend to 24 and continue with: 242 / 398

Going ahead to step 3:
242 divided by 398 is 0 with a remainder of 242.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 242 leaves us with 242.
Append the next digit (7) from the dividend to 242 and continue with: 2427 / 398

Advancing to step 4:
If we divide 2427 by 398, we get 6 and a remainder of 39.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtract 2388 from 2427 to get 39.
Grab the next digit (0) from the dividend, add it to 39, then carry on: 390 / 398

Let's proceed to step 5:
398 can be fit into 390 0 times, resulting in a remainder of 390.
Record the quotient 0 as the next digit in the result. 
Result so far: 60.0
If we subtract 0 from 390, we get 390.
Fetch the next digit (1) from the dividend, attach it to 390 and continue: 3901 / 398

On to step 6:
398 goes into 3901 9 times with a remainder of 319.
Use 9 as the next digit of our solution. 
Result so far: 609.0
Subtracting 3582 from 3901 leaves us with 319.
Append the next digit (0) from the dividend to 319 and continue with: 3190 / 398

Going ahead to step 7:
398 can be fit into 3190 8 times, resulting in a remainder of 6.
The next digit of our result is 8. 
Result so far: 6098.0
If we subtract 3184 from 3190, we get 6.
Take the next digit (7) from the dividend and append it to 6, then repeat: 67 / 398

On to step 8:
When dividing 67 by 398, we get 0 with a remainder of 67.
Write down 0 as next digit of the result. 
Result so far: 60980.0
Deduct 0 from 67 and we're left with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Going ahead to step 9:
398 goes into 670 1 times with a remainder of 272.
The next digit of our result is 1. 
Result so far: 60980.1
The remainder is 272 after subtracting 398 from 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Going ahead to step 10:
2720 divided by 398 is 6 with a remainder of 332.
Use 6 as the next digit of our solution. 
Result so far: 60980.16
Subtract 2388 from 2720 to get 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

Step 11:
398 goes into 3320 8 times with a remainder of 136.
Use 8 as the next digit of our solution. 
Result so far: 60980.168
Deduct 3184 from 3320 and we're left with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Advancing to step 12:
When dividing 1360 by 398, we get 3 with a remainder of 166.
The next digit of our result is 3. 
Result so far: 60980.1683
Subtracting 1194 from 1360 leaves us with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Moving on to step 13:
If we divide 1660 by 398, we get 4 and a remainder of 68.
Write down 4 as next digit of the result. 
Result so far: 60980.16834
Subtract 1592 from 1660 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Advancing to step 14:
398 can be fit into 680 1 times, resulting in a remainder of 282.
The next digit of our result is 1. 
Result so far: 60980.168341
Deduct 398 from 680 and we're left with 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2820, and continue the process.

Moving on to step 15:
2820 divided by 398 is 7 with a remainder of 34.
Put 7 as the next digit of the answer. 
Result so far: 60980.1683417
Subtracting 2786 from 2820 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 16:
When dividing 340 by 398, we get 0 with a remainder of 340.
The next digit of our result is 0. 
Result so far: 60980.1683417
Deduct 0 from 340 and we're left with 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

After the division, we end up with 60980.1683417 and a remainder of 3.4e-07.