Let's divide 40337147 by 781
The aim is to understand the frequency of 781 in 40337147.

On to step 1:
781 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 781

On to step 2:
When dividing 40 by 781, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Fetch the next digit (3) from the dividend, attach it to 40 and continue: 403 / 781

Moving on to step 3:
403 divided by 781 is 0 with a remainder of 403.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 403, we end up with 403.
Include the next digit (3) from the dividend after 403, then repeat: 4033 / 781

Going ahead to step 4:
4033 divided by 781 is 5 with a remainder of 128.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 3905 from 4033 to get 128.
Append the next digit (7) from the dividend to 128 and continue with: 1287 / 781

On to step 5:
When dividing 1287 by 781, we get 1 with a remainder of 506.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
Subtracting 781 from 1287 leaves us with 506.
Grab the next digit (1) from the dividend, add it to 506, then carry on: 5061 / 781

On to step 6:
781 can be fit into 5061 6 times, resulting in a remainder of 375.
Use 6 as the next digit of our solution. 
Result so far: 516.0
Subtracting 4686 from 5061 leaves us with 375.
Bring next digit (4) of the dividend behind the 375 and repeat the process: 3754 / 781

Advancing to step 7:
If we divide 3754 by 781, we get 4 and a remainder of 630.
Write down 4 as next digit of the result. 
Result so far: 5164.0
If we take 3124 away from 3754, we end up with 630.
Grab the next digit (7) from the dividend, add it to 630, then carry on: 6307 / 781

Advancing to step 8:
If we divide 6307 by 781, we get 8 and a remainder of 59.
Use 8 as the next digit of our solution. 
Result so far: 51648.0
Subtract 6248 from 6307 to get 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Step 9:
781 goes into 590 0 times with a remainder of 590.
Record the quotient 0 as the next digit in the result. 
Result so far: 51648.0
Subtracting 0 from 590 leaves us with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Let's proceed to step 10:
The number 781 fits into 5900 7 times, leaving a remainder of 433.
Put 7 as the next digit of the answer. 
Result so far: 51648.07
Deduct 5467 from 5900 and we're left with 433.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4330, and continue the process.

Let's proceed to step 11:
When dividing 4330 by 781, we get 5 with a remainder of 425.
The number 5 becomes the next digit in our result. 
Result so far: 51648.075
The remainder is 425 after subtracting 3905 from 4330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

Let's proceed to step 12:
4250 divided by 781 is 5 with a remainder of 345.
Record the quotient 5 as the next digit in the result. 
Result so far: 51648.0755
Subtracting 3905 from 4250 leaves us with 345.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

The quotient of the division is 51648.0755, and the remainder is 0.00345.