Annotation The properties of the atomic nucleus were studied, in particular the weight of quarks and the energy of gluons were calculated. The nuclear potential and quark mass were calculated from the kinetic energy and momentum. This is determined using integers on which the mass of quarks and the energy of gluons depend. The mass of quarks is approximately known, and a dependence on integer numbers of the quark mass is selected that is close to the experimental value. This allows us to more accurately determine the mass of quarks that satisfy the kinetic energy of the quarks and their momentum. The energy of the atomic nucleus and the energy of the atom are determined using STR formulas at imaginary speed.