38956674 divided by 124 
The aim is to understand the frequency of 124 in 38956674.

Moving on to step 1:
3 divided by 124 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 124

Let's proceed to step 2:
If we divide 38 by 124, we get 0 and a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 38 leaves us with 38.
Grab the next digit (9) from the dividend, add it to 38, then carry on: 389 / 124

Going ahead to step 3:
389 divided by 124 is 3 with a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 372 from 389, we get 17.
Take the next digit (5) from the dividend and append it to 17, then repeat: 175 / 124

On to step 4:
124 goes into 175 1 times with a remainder of 51.
Use 1 as the next digit of our solution. 
Result so far: 31.0
If we take 124 away from 175, we end up with 51.
Append the next digit (6) from the dividend to 51 and continue with: 516 / 124

Going ahead to step 5:
516 divided by 124 is 4 with a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 314.0
Subtract 496 from 516 to get 20.
Grab the next digit (6) from the dividend, add it to 20, then carry on: 206 / 124

Let's proceed to step 6:
206 divided by 124 is 1 with a remainder of 82.
The number 1 becomes the next digit in our result. 
Result so far: 3141.0
Deduct 124 from 206 and we're left with 82.
Append the next digit (7) from the dividend to 82 and continue with: 827 / 124

Let's proceed to step 7:
827 divided by 124 is 6 with a remainder of 83.
The number 6 becomes the next digit in our result. 
Result so far: 31416.0
Subtract 744 from 827 to get 83.
Grab the next digit (4) from the dividend, add it to 83, then carry on: 834 / 124

Let's proceed to step 8:
124 goes into 834 6 times with a remainder of 90.
The number 6 becomes the next digit in our result. 
Result so far: 314166.0
If we take 744 away from 834, we end up with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Let's proceed to step 9:
124 goes into 900 7 times with a remainder of 32.
Record the quotient 7 as the next digit in the result. 
Result so far: 314166.7
The remainder is 32 after subtracting 868 from 900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 10:
When dividing 320 by 124, we get 2 with a remainder of 72.
The number 2 becomes the next digit in our result. 
Result so far: 314166.72
Deduct 248 from 320 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 11:
124 goes into 720 5 times with a remainder of 100.
Write down 5 as next digit of the result. 
Result so far: 314166.725
Deduct 620 from 720 and we're left with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Advancing to step 12:
If we divide 1000 by 124, we get 8 and a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 314166.7258
Deduct 992 from 1000 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 13:
80 divided by 124 is 0 with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 314166.7258
The remainder is 80 after subtracting 0 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 14:
The number 124 fits into 800 6 times, leaving a remainder of 56.
Put 6 as the next digit of the answer. 
Result so far: 314166.725806
Subtracting 744 from 800 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 15:
The number 124 fits into 560 4 times, leaving a remainder of 64.
Use 4 as the next digit of our solution. 
Result so far: 314166.7258064
If we take 496 away from 560, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 16:
The number 124 fits into 640 5 times, leaving a remainder of 20.
The next digit of our result is 5. 
Result so far: 314166.72580645
If we take 620 away from 640, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final result is 314166.72580645 with a remainder of 2e-08.