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

Going ahead to step 1:
The number 40 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 40

Going ahead to step 2:
When dividing 33 by 40, we get 0 with a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 33 leaves us with 33.
Fetch the next digit (2) from the dividend, attach it to 33 and continue: 332 / 40

On to step 3:
When dividing 332 by 40, we get 8 with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 320 from 332 leaves us with 12.
Grab the next digit (4) from the dividend, add it to 12, then carry on: 124 / 40

Going ahead to step 4:
40 goes into 124 3 times with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 83.0
If we subtract 120 from 124, we get 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 40

Advancing to step 5:
40 goes into 48 1 times with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 831.0
Deduct 40 from 48 and we're left with 8.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 40

On to step 6:
If we divide 82 by 40, we get 2 and a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 8312.0
If we take 80 away from 82, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
When dividing 20 by 40, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 8312.0
Deduct 0 from 20 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.

Let's proceed to step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 8312.05
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.

Advancing to step 9:
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: 8312.05
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.

On to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 8312.05
If we take 0 away from 0, we end up 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.

The quotient of the division is 8312.05, and the remainder is 0.0.