Let's divide 659267 by 40
The aim is to understand the frequency of 40 in 659267.

Going ahead to step 1:
If we divide 6 by 40, we get 0 and a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 40

On to step 2:
The number 40 fits into 65 1 times, leaving a remainder of 25.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 40 from 65 and we're left with 25.
Fetch the next digit (9) from the dividend, attach it to 25 and continue: 259 / 40

Step 3:
259 divided by 40 is 6 with a remainder of 19.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Deduct 240 from 259 and we're left with 19.
Grab the next digit (2) from the dividend, add it to 19, then carry on: 192 / 40

Moving on to step 4:
40 goes into 192 4 times with a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 164.0
If we take 160 away from 192, we end up with 32.
Bring next digit (6) of the dividend behind the 32 and repeat the process: 326 / 40

Advancing to step 5:
The number 40 fits into 326 8 times, leaving a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 1648.0
Deduct 320 from 326 and we're left with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 40

Advancing to step 6:
40 can be fit into 67 1 times, resulting in a remainder of 27.
Put 1 as the next digit of the answer. 
Result so far: 16481.0
Deduct 40 from 67 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 7:
When dividing 270 by 40, we get 6 with a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 16481.6
If we take 240 away from 270, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
40 goes into 300 7 times with a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 16481.67
Deduct 280 from 300 and we're left 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.

Moving on to step 9:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 16481.675
If we subtract 200 from 200, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 16481.675
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 11:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 16481.675
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 16481.675 with a remaining 0.0.