ヤギの神アイギパーンは、クレタ島でアマルティアが幼いゼウスとともに育てたものである。ゼウスとテューポーンとの戦いで、アイギパーンとヘルメースは、テューポーンがコリシアン洞窟に隠したゼウスの「筋」を奪い返した<ref>「この物語の中で、エルメスは明らかに場違いな存在だ。 He was one of the youngest sons of Zeus and was brought into the story only because... he was a master/thief. The real participant in the story was Aigipan: the god Pan, that is to say. in his quality of a goat (''aix''). (Kerenyi, p. 28). Kerenyi points out that Python of Delphi had a son Aix ([[Plutarch]], ''Moralia'' 293c) and detects a note of kinship betrayal.</ref>。パーンは巨人との戦いで、恐ろしい悲鳴を上げ、巨人を恐怖のどん底に叩き落し、兄を助けた。エーギパンは父ではなく、パーンの息子であるという伝承もある。山羊座は伝統的に海ヤギ、つまり魚の尾を持つヤギとして描かれている(ヘカトンキレスの一つ、ブリアレオスという「ヤギのような」アイガイオン参照)。ヒュギーヌスの『詩的天文』<ref>Hyginus, ''Poetic Astronomy'' 2.18: see Theony Condos, ''Star Myths of the Greeks and Romans'' 1997:72.</ref> に「エジプト的」として報告されている神話(パーンと山羊座の関係を正当化するために創作されたと思われる)には、アイギパーン(山羊神の姿のパーン)<ref>Kerenyi, p. 95.</ref>が怪物テューポーンに襲われたときナイル川に潜り、水の上の部分は山羊を保っていたが水の下は魚に変化していたと記されている。
=== Erotic aspects エロティックな面 ===
Pan is famous for his sexual prowess and is often depicted with a [[phallus]]. [[Diogenes of Sinope]], speaking in jest, related a myth of Pan learning [[masturbation]] from his father, [[Hermes]], and teaching the habit to shepherds.<ref>[[Dio Chrysostom]], ''Discourses,'' vi. 20.</ref>