Problem 1
Open on its own pageInitially Alex, Betty, and Charlie had a total of peanuts. Charlie had the most peanuts, and Alex had the least. The three numbers of peanuts that each person had form a geometric progression. Alex eats of his peanuts, Betty eats of her peanuts, and Charlie eats of his peanuts. Now the three numbers of peanuts that each person has form an arithmetic progression. Find the number of peanuts Alex had initially.
Integer from 0 to 999