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

Going ahead to step 1:
40 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 40

Advancing to step 2:
40 goes into 35 0 times with a remainder of 35.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 35, we get 35.
Take the next digit (8) from the dividend and append it to 35, then repeat: 358 / 40

On to step 3:
358 divided by 40 is 8 with a remainder of 38.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 320 from 358, we get 38.
Bring next digit (0) of the dividend behind the 38 and repeat the process: 380 / 40

Moving on to step 4:
380 divided by 40 is 9 with a remainder of 20.
Record the quotient 9 as the next digit in the result. 
Result so far: 89.0
If we take 360 away from 380, we end up with 20.
Grab the next digit (6) from the dividend, add it to 20, then carry on: 206 / 40

Step 5:
40 can be fit into 206 5 times, resulting in a remainder of 6.
The next digit of our result is 5. 
Result so far: 895.0
If we subtract 200 from 206, we get 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 40

Let's proceed to step 6:
The number 40 fits into 63 1 times, leaving a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 8951.0
The remainder is 23 after subtracting 40 from 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 7:
If we divide 230 by 40, we get 5 and a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 8951.5
The remainder is 30 after subtracting 200 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 8951.57
The remainder is 20 after subtracting 280 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 8951.575
Deduct 200 from 200 and we're left 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.

Going ahead to step 10:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 8951.575
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: 8951.575
If we subtract 0 from 0, 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.

After the division, we end up with 8951.575 and a remainder of 0.0.