Two integers that have a sum of -7 and a product of 12 are -3 and -4.
The integers are -7 and -5.
17
The integers are 7, 8 and 9.
Sum(not div by 7) = Sum(all) - Sum(div by 7) Now the sum of an AP is Sn = n/2 (first + last) where n is the number of terms Sum(All) = 10000/2 (1 + 10000) = 50005000 Sum(div by 7) = (9996/7)/2 (7 + 9996) = 1428/2 (10003) = 7142142 Sum(not div by 7) = Sum(all) - Sum(div by 7) = 50005000 - 7142142 = 42 862 858
Two integers that have a sum of -7 and a product of 12 are -3 and -4.
The integers are -7 and -5.
-2 and 5
17
-3 and -4
55
The integers are 7, 8 and 9.
There is no solution. The sum of multiple even integers will always be even, and -7 is odd.
Sum(not div by 7) = Sum(all) - Sum(div by 7) Now the sum of an AP is Sn = n/2 (first + last) where n is the number of terms Sum(All) = 10000/2 (1 + 10000) = 50005000 Sum(div by 7) = (9996/7)/2 (7 + 9996) = 1428/2 (10003) = 7142142 Sum(not div by 7) = Sum(all) - Sum(div by 7) = 50005000 - 7142142 = 42 862 858
7 and -4
-7 & -14
-8 and -7.