Large earthquakes can have hundreds to thousands of instrumentally detectable aftershocks, which steadily decrease in magnitude and frequency according to a consistent pattern.
These are known as doublet earthquakes, and in general can be distinguished from aftershocks in having similar magnitudes and nearly identical seismic waveforms.
As this is an empirical law, values of the parameters are obtained by fitting to data after a mainshock has occurred, and they imply no specific physical mechanism in any given case.
Aftershock sequences also typically follow the Gutenberg–Richter law of size scaling, which refers to the relationship between the magnitude and total number of earthquakes in a region in a given time period.
Aftershocks are dangerous because they are usually unpredictable, can be of a large magnitude, and can collapse buildings that are damaged from the main shock.
An aftershock sequence is deemed to have ended when the rate of seismicity drops back to a background level; i.e., no further decay in the number of events with time can be detected.
On the East Pacific Rise however, transform faults show quite predictable foreshock behaviour before the main seismic event.