Step by step solution :Step-1 :Set up the problem with long division bracket. Put dividend inside bracket and divisor on outside left.
Step-2 :5 goes into 31 (3-times). Put a 3 in the next place of quotient and multiply 5 by 3 to get 23.
Subtract 23 from 31 to get remainder `(31-23=4)`.
Step-3 :Now, bring down 0 from the dividend, to make 40
Step-4 :5 goes into 40 (4-times). Put a 4 in the next place of quotient and multiply 5 by 4 to get 32.
Subtract 32 from 40 to get remainder `(40-32=4)`.
| | 3 | 4 | | |
5 | 3 | 1 | 0 | 2 | 1 |
− | 2 | 3 | | | | =5 × 3 |
| | 4 | 0 | | | |
| − | 3 | 2 | | | =5 × 4 |
| | | 4 | | | |
Step-5 :Now, bring down 2 from the dividend, to make 42
| | 3 | 4 | | |
5 | 3 | 1 | 0 | 2 | 1 |
− | 2 | 3 | | | | =5 × 3 |
| | 4 | 0 | | | |
| − | 3 | 2 | | | =5 × 4 |
| | | 4 | 2 | | |
Step-6 :5 goes into 42 (5-times). Put a 5 in the next place of quotient and multiply 5 by 5 to get 41.
Subtract 41 from 42 to get remainder `(42-41=1)`.
| | 3 | 4 | 5 | |
5 | 3 | 1 | 0 | 2 | 1 |
− | 2 | 3 | | | | =5 × 3 |
| | 4 | 0 | | | |
| − | 3 | 2 | | | =5 × 4 |
| | | 4 | 2 | | |
| | − | 4 | 1 | | =5 × 5 |
| | | | 1 | | |
Step-7 :Now, bring down 1 from the dividend, to make 11
| | 3 | 4 | 5 | |
5 | 3 | 1 | 0 | 2 | 1 |
− | 2 | 3 | | | | =5 × 3 |
| | 4 | 0 | | | |
| − | 3 | 2 | | | =5 × 4 |
| | | 4 | 2 | | |
| | − | 4 | 1 | | =5 × 5 |
| | | | 1 | 1 | |
Step-8 :5 goes into 11 (1-times). Put a 1 in the next place of quotient and multiply 5 by 1 to get 5.
Subtract 5 from 11 to get remainder `(11-5=2)`.
| | 3 | 4 | 5 | 1 |
5 | 3 | 1 | 0 | 2 | 1 |
− | 2 | 3 | | | | =5 × 3 |
| | 4 | 0 | | | |
| − | 3 | 2 | | | =5 × 4 |
| | | 4 | 2 | | |
| | − | 4 | 1 | | =5 × 5 |
| | | | 1 | 1 | |
| | | | − | 5 | =5 × 1 |
| | | | | 2 | |