Equal Rites is a comic fantasy novel by Terry Pratchett. Published in 1987, it is the third novel in the Discworld series and the first in which the main character is not Rincewind. It introduces the character of Granny Weatherwax, who reappears in several later Discworld novels.
The wizard Drum Billet knows that he will soon die and travels to a place where an eighth son of an eighth son is about to be born. This signifies that the child is destined to become a wizard (on the Discworld, the number eight has many of the magical properties that are ascribed to seven in the real world), Billet wants to pass his wizard's staff on to his successor.
However, the newborn child is actually a girl, Esk (full name Eskarina Smith). Since Billet notices his mistake too late, the staff passes on to her. As Esk grows up, it becomes apparent that she has uncontrollable powers, and the local witch Granny Weatherwax decides to travel with her to the Unseen University in Ankh-Morpork to help her...
full article at wikipedia