The katha
Once Shiva and Parvati, wandering the earth, came to the city of Amaravati and rested in a temple of Shiva there. To pass the time, Parvati proposed a game of chausar (dice).
Just then the temple priest came in. Parvati asked him: who do you think will win? Without a moment's thought the priest answered, the Lord will win. But it was Parvati who won the game. Parvati said he had spoken falsely, and in her anger she cursed him with leprosy, a disease no remedy could cure.
One day some celestial women came down to the temple. Seeing the priest's suffering, they asked what had happened, and he told them everything. They said: keep the vrat of sixteen Mondays for Shiva. Fast each Monday, worship the Lord, and on the seventeenth Monday offer a simple sweet and share it.
The priest kept the sixteen Mondays with devotion. By the end of the vow he was well again.
When Shiva and Parvati passed that way again, Parvati saw the priest healthy and asked how he had recovered. Hearing of the sixteen Mondays, she kept the vow herself — the katha says she longed for her son Kartikeya, who had gone far away, and that he returned to her.
Kartikeya in turn kept the vow, and a friend who had gone far away came back to him. The friend kept it too, and at a princess's swayamvar a she-elephant placed the garland on him, and he married her. And so the vrat passed from one person to the next, each telling the story of how it had helped them.