Ganapathy and Rama Nama
We are all aware of the story of the competition between Ganesha and Muruga on who will get the divine fruit. Muruga, angry that the fruit was not given to him, went to Palani. In order to appease his anger, the competition was conducted again, when Muruga diligently circumambulated his parents on his peacock at great speed.
Ganesha, on his part, wrote 'RAMA' on the sand and circumambulated it, as that is equivalent of going around the whole world!
Pleased, Siva honoured him by crowning him the leader of all his minions – the 'bhoota ganas' andthus he acquired the name 'Ganapathy' and 'Gana Nayaka'