Find formula for calculation of 2 numbers having equal sum and product
If a = b = 2 then a + b = a * b. If you input any number a (positive, negative, not necessarily integer, not 1), the program calculates another pair of numbers (a,b) having the property: a + b = a * b. The question is: can you find the formula the program uses for calculation of b from a for such a pair of numbers?
Input a:
CCCC