Repeated pattern of gamma-ray flares in the light curve of the blazar 3C 279