Let's divide 640042 by 35
The aim is to understand the frequency of 35 in 640042.

Step 1:
6 divided by 35 is 0 with a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 35

On to step 2:
The number 35 fits into 64 1 times, leaving a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 29 after subtracting 35 from 64.
Fetch the next digit (0) from the dividend, attach it to 29 and continue: 290 / 35

Moving on to step 3:
35 goes into 290 8 times with a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Deduct 280 from 290 and we're left with 10.
Take the next digit (0) from the dividend and append it to 10, then repeat: 100 / 35

Step 4:
35 can be fit into 100 2 times, resulting in a remainder of 30.
The next digit of our result is 2. 
Result so far: 182.0
If we take 70 away from 100, we end up with 30.
Bring next digit (4) of the dividend behind the 30 and repeat the process: 304 / 35

Going ahead to step 5:
35 can be fit into 304 8 times, resulting in a remainder of 24.
The next digit of our result is 8. 
Result so far: 1828.0
Subtract 280 from 304 to get 24.
Grab the next digit (2) from the dividend, add it to 24, then carry on: 242 / 35

Step 6:
35 goes into 242 6 times with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 18286.0
If we subtract 210 from 242, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 7:
When dividing 320 by 35, we get 9 with a remainder of 5.
The number 9 becomes the next digit in our result. 
Result so far: 18286.9
If we take 315 away from 320, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 8:
When dividing 50 by 35, we get 1 with a remainder of 15.
Write down 1 as next digit of the result. 
Result so far: 18286.91
Deduct 35 from 50 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 9:
35 goes into 150 4 times with a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 18286.914
Deduct 140 from 150 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 10:
The number 35 fits into 100 2 times, leaving a remainder of 30.
Put 2 as the next digit of the answer. 
Result so far: 18286.9142
Deduct 70 from 100 and we're left 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.

Step 11:
35 can be fit into 300 8 times, resulting in a remainder of 20.
Put 8 as the next digit of the answer. 
Result so far: 18286.91428
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 12:
200 divided by 35 is 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 18286.914285
Deduct 175 from 200 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 13:
The number 35 fits into 250 7 times, leaving a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 18286.9142857
The remainder is 5 after subtracting 245 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 14:
50 divided by 35 is 1 with a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 18286.91428571
Subtract 35 from 50 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The quotient of the division is 18286.91428571, and the remainder is 1.5e-08.