A special class of solutions in F(R)-gravity