Let x be the number.
We know that we squared ir and doubled it, this means:
This have to be equal to four more than the product of seven and the number:
this is the same as:
this can be solved for the general formula:
in our case a=2, b=-7 and c=-4; then:
hence:
Since we are looking for a whole number, then the number is 4.