There are four numbers. The first three make an arithmetic progression, and the last three make a geometric progression. The sum of first and last number is $37$. The sum of middle numbers is $36$. Find the numbers.
So I'm trying to solve this problem for about 2 hours now. I can't use any formulas because all I get $0=0$. I don't know all the terms in English so I'll just try to upload my notes here. Eh but it doesn't let me. At first i got that $a_1=-2d$, $d$ was $= -36$ so my numbers were $72$, $36$, $0$, $-35$. The problem is that last 3 numbers doesn't make a geometric progression.
Let's say the numbers are $a+d$, $a$, $a-d$, and $\dfrac{(a-d)^2}{a}$. The sum of the middle numbers is $$36=a+(a-d)=2a-d\,.$$ The sum of the other two numbers is $$37=(a+d)+\frac{(a-d)^2}{a}=(2a-d)+\frac{d^2}{a}=36+\frac{d^2}{a}\,.$$ That is, $a=d^2$. Hence, your numbers are $$d^2+d\,,\,\,d^2,d^2-d\,,\text{ and }d^2-2d+1\,.$$ It should be easy now.