The aim of this paper is to give a conditions on n, so can be written as a sum of four cubes, but this conditions work on another problem that deals with cubic equation and the solution of non-linear system of equation are also required. This work is very important in different branches of applied mathematics especially in number theory and cryptography.