We present some general properties of solutions of an equation which appeared in a problem posed by Z. Boros and Z. Darczy. Using them we solve this equation in some classes of functions assuming regularity of solutions. We also present some facts concerning regular solutions of two related equations.