Abstract:
A solution of D'Alembert's equation for the vector potential of an electromagnetic field is found in the form of a wave packet, which does not spread in time and space. The expression obtained for the vector potential of a photon is used for the solution of some problems.