Answer: F=−1/3,8/3.
Let us denote s=a+b+c. Then, under the given condition, we have cs=as=bs.
(1) If s=0, then a3+b3+c3=(a+b+c)(a2+b2+c2−ab−bc−ca)+3abc=3abc=0. If s=0, then a=b=c. Hence a3+b3+c3=3a3=0. This completes the proof of the first part.
(2) Since a3+b3+c3=0, the function
F(a,b,c)=a3+b3+c3(a+b)(b+c)(c+a)
is well defined. Given F(1,1,−2)=−1/3 and F(1,1,1)=8/3, the values −31 and 38 are attained because 1+1−2=0 and 1+1+1=0. Now we show there are no other values of F.
Indeed, if s=0, then F=3abc(−c)(−a)(−b)=−31. If s=0, then a=b=c, thus F=3a38a3=38.