A number consists of three digits in geometric progression. The sum of the right hand and left hand digits exceeds twice the middle digit by 1 and the sum of left hand and middle digits is two third of the sum of the middle and right hand digits. Then the sum of digits of number is