We're dividing 2590542 by 781 
We're looking to find how many times 781 goes into 2590542.

Let's proceed to step 1:
If we divide 2 by 781, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 781

Step 2:
The number 781 fits into 25 0 times, leaving a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 25, we get 25.
Append the next digit (9) from the dividend to 25 and continue with: 259 / 781

Moving on to step 3:
If we divide 259 by 781, we get 0 and a remainder of 259.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 259 after subtracting 0 from 259.
Take the next digit (0) from the dividend and append it to 259, then repeat: 2590 / 781

Moving on to step 4:
If we divide 2590 by 781, we get 3 and a remainder of 247.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 2343 away from 2590, we end up with 247.
Grab the next digit (5) from the dividend, add it to 247, then carry on: 2475 / 781

Step 5:
When dividing 2475 by 781, we get 3 with a remainder of 132.
Use 3 as the next digit of our solution. 
Result so far: 33.0
The remainder is 132 after subtracting 2343 from 2475.
Take the next digit (4) from the dividend and append it to 132, then repeat: 1324 / 781

Advancing to step 6:
The number 781 fits into 1324 1 times, leaving a remainder of 543.
The next digit of our result is 1. 
Result so far: 331.0
Subtracting 781 from 1324 leaves us with 543.
Append the next digit (2) from the dividend to 543 and continue with: 5432 / 781

Let's proceed to step 7:
The number 781 fits into 5432 6 times, leaving a remainder of 746.
The number 6 becomes the next digit in our result. 
Result so far: 3316.0
If we take 4686 away from 5432, we end up with 746.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7460, and continue the process.

On to step 8:
If we divide 7460 by 781, we get 9 and a remainder of 431.
Put 9 as the next digit of the answer. 
Result so far: 3316.9
The remainder is 431 after subtracting 7029 from 7460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4310, and continue the process.

Let's proceed to step 9:
If we divide 4310 by 781, we get 5 and a remainder of 405.
Write down 5 as next digit of the result. 
Result so far: 3316.95
If we take 3905 away from 4310, we end up with 405.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4050, and continue the process.

Moving on to step 10:
When dividing 4050 by 781, we get 5 with a remainder of 145.
Use 5 as the next digit of our solution. 
Result so far: 3316.955
Deduct 3905 from 4050 and we're left with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

The quotient of the division is 3316.955, and the remainder is 0.0145.