We look at the division of 40983721 by 374 
The aim is to understand the frequency of 374 in 40983721.

Step 1:
4 divided by 374 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 374

Going ahead to step 2:
374 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Take the next digit (9) from the dividend and append it to 40, then repeat: 409 / 374

Going ahead to step 3:
The number 374 fits into 409 1 times, leaving a remainder of 35.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 374 from 409 and we're left with 35.
Include the next digit (8) from the dividend after 35, then repeat: 358 / 374

Advancing to step 4:
358 divided by 374 is 0 with a remainder of 358.
The next digit of our result is 0. 
Result so far: 10.0
Deduct 0 from 358 and we're left with 358.
Take the next digit (3) from the dividend and append it to 358, then repeat: 3583 / 374

On to step 5:
3583 divided by 374 is 9 with a remainder of 217.
Put 9 as the next digit of the answer. 
Result so far: 109.0
Deduct 3366 from 3583 and we're left with 217.
Take the next digit (7) from the dividend and append it to 217, then repeat: 2177 / 374

Let's proceed to step 6:
2177 divided by 374 is 5 with a remainder of 307.
The number 5 becomes the next digit in our result. 
Result so far: 1095.0
Subtracting 1870 from 2177 leaves us with 307.
Grab the next digit (2) from the dividend, add it to 307, then carry on: 3072 / 374

Going ahead to step 7:
374 can be fit into 3072 8 times, resulting in a remainder of 80.
The next digit of our result is 8. 
Result so far: 10958.0
Subtract 2992 from 3072 to get 80.
Append the next digit (1) from the dividend to 80 and continue with: 801 / 374

Moving on to step 8:
374 goes into 801 2 times with a remainder of 53.
Write down 2 as next digit of the result. 
Result so far: 109582.0
Deduct 748 from 801 and we're left with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Moving on to step 9:
374 can be fit into 530 1 times, resulting in a remainder of 156.
The next digit of our result is 1. 
Result so far: 109582.1
If we take 374 away from 530, we end up with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Let's proceed to step 10:
374 goes into 1560 4 times with a remainder of 64.
The next digit of our result is 4. 
Result so far: 109582.14
If we subtract 1496 from 1560, we get 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 11:
When dividing 640 by 374, we get 1 with a remainder of 266.
The number 1 becomes the next digit in our result. 
Result so far: 109582.141
Subtracting 374 from 640 leaves us with 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Moving on to step 12:
If we divide 2660 by 374, we get 7 and a remainder of 42.
Put 7 as the next digit of the answer. 
Result so far: 109582.1417
If we subtract 2618 from 2660, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 13:
374 can be fit into 420 1 times, resulting in a remainder of 46.
Write down 1 as next digit of the result. 
Result so far: 109582.14171
Subtracting 374 from 420 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 14:
If we divide 460 by 374, we get 1 and a remainder of 86.
The next digit of our result is 1. 
Result so far: 109582.141711
If we subtract 374 from 460, we get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Our division results in 109582.141711 with a remaining 8.6e-06.