We divide 906068 by 40
The aim is to understand the frequency of 40 in 906068.

Going ahead to step 1:
If we divide 9 by 40, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Fetch the next digit (0) from the dividend, attach it to 9 and continue: 90 / 40

Going ahead to step 2:
90 divided by 40 is 2 with a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 80 from 90 to get 10.
Append the next digit (6) from the dividend to 10 and continue with: 106 / 40

On to step 3:
40 goes into 106 2 times with a remainder of 26.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
If we take 80 away from 106, we end up with 26.
Include the next digit (0) from the dividend after 26, then repeat: 260 / 40

On to step 4:
40 can be fit into 260 6 times, resulting in a remainder of 20.
Put 6 as the next digit of the answer. 
Result so far: 226.0
The remainder is 20 after subtracting 240 from 260.
Take the next digit (6) from the dividend and append it to 20, then repeat: 206 / 40

On to step 5:
The number 40 fits into 206 5 times, leaving a remainder of 6.
The number 5 becomes the next digit in our result. 
Result so far: 2265.0
Deduct 200 from 206 and we're left with 6.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 40

Let's proceed to step 6:
If we divide 68 by 40, we get 1 and a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 22651.0
Deduct 40 from 68 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 7:
280 divided by 40 is 7 with a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 22651.7
Subtracting 280 from 280 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.

Step 8:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 22651.7
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.

Let's proceed to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 22651.7
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.

Our division results in 22651.7 with a remaining 0.0.