Given two rows of numbers, apply the following rules to find the resultant of each pair (first number followed by second number): Step 1: If an even n...
Question
Given two rows of numbers, apply the following rules to find the resultant of each pair (first number followed by second number):
- Step 1: If an even number is followed by an odd prime number, the resultant is the sum of both numbers.
- Step 2: If an odd number is followed by a perfect square, the resultant is the odd number minus the perfect square.
- Step 3: If an odd number is followed by another odd number, the resultant is the sum of both numbers.
- Step 4: If an even number is followed by an odd non-prime number, the resultant is the even number minus the odd number.
- Step 5: If an odd number is followed by an even number, the resultant is the product of the two numbers.
Find the difference between the resultant of the first row and the second row.
First row: 5 4 15
Second row: 21 16 4