Question: Who is the paternal grandfather of Nia Segamain?

Knowledge 1: Nia Segamain
Nia Segamain, son of Adamair, was, according to medieval Irish legend and historical tradition, a High King of Ireland.He took power after killing his predecessor, Conall Collamrach.Geoffrey Keating says his mother was the presumed woodland goddess Flidais of the Tuatha Dé Danann, whose magic made wild does give milk as freely as domesticated cattle during his reign.He ruled for seven years, until he was killed by Énna Aignech.The "Lebor Gabála" synchronises his reign with that of Ptolemy VIII Physcon in Egypt (145–116 BC).The chronology of Keating's "Foras Feasa ar Éirinn" dates his reign to 226–219 BC, that of the "Annals of the Four Masters" to 320–313 BC.His name means "sister's son or champion of Segamon", and is perhaps related to Segomo, an ancient Gaulish deity equated in Roman times with Mars and Hercules.A slightly more historical Nia Segamain occurs in early Eóganachta pedigrees, and this is sometimes interpreted as evidence for the Gaulish origins of the dynasties. [SEP] Knowledge 2: Adamair
Adamair (Adammair, Adhamair, Amadir), son of Fer Corb, was, according to medieval Irish legends and historical traditions, a High King of Ireland.He came from Munster, killed the previous incumbent, Ailill Caisfhiaclach, and reigned for five years, until he was killed by Eochaid Ailtleathan.The "Lebor Gabála Érenn" synchronises his reign with that of Ptolemy V Epiphanes in Egypt (204–181 BC).The chronology of the "Annals of the Four Masters" dates his reign to 418–414 BC, the chronology of Geoffrey Keating's "Foras Feasa ar Éirinn" to 290–285 BC.He was the husband of the presumed goddess Flidais of the Tuatha Dé Danann.
Knowledge 1: Nia Segamain
Nia Segamain, son of Adamair, was, according to medieval Irish legend and historical tradition, a High King of Ireland.He took power after killing his predecessor, Conall Collamrach.Geoffrey Keating says his mother was the presumed woodland goddess Flidais of the Tuatha Dé Danann, whose magic made wild does give milk as freely as domesticated cattle during his reign.He ruled for seven years, until he was killed by Énna Aignech.The "Lebor Gabála" synchronises his reign with that of Ptolemy VIII Physcon in Egypt (145–116 BC).The chronology of Keating's "Foras Feasa ar Éirinn" dates his reign to 226–219 BC, that of the "Annals of the Four Masters" to 320–313 BC.His name means "sister's son or champion of Segamon", and is perhaps related to Segomo, an ancient Gaulish deity equated in Roman times with Mars and Hercules.A slightly more historical Nia Segamain occurs in early Eóganachta pedigrees, and this is sometimes interpreted as evidence for the Gaulish origins of the dynasties. [SEP] Knowledge 2: Rudraige mac Sithrigi
Rudraige mac Sithrigi, was, according to medieval Irish legend and historical tradition, a High King of Ireland.The son of Sitric, he took power after killing his predecessor, Crimthann Coscrach, and ruled for thirty or seventy years, after which he died of plague in Airgetglenn.He was succeeded by Finnat Már, son of Nia Segamain.He is the ancestor of Clanna Rudraige.
Knowledge 1: Adamair
Adamair (Adammair, Adhamair, Amadir), son of Fer Corb, was, according to medieval Irish legends and historical traditions, a High King of Ireland.He came from Munster, killed the previous incumbent, Ailill Caisfhiaclach, and reigned for five years, until he was killed by Eochaid Ailtleathan.The "Lebor Gabála Érenn" synchronises his reign with that of Ptolemy V Epiphanes in Egypt (204–181 BC).The chronology of the "Annals of the Four Masters" dates his reign to 418–414 BC, the chronology of Geoffrey Keating's "Foras Feasa ar Éirinn" to 290–285 BC.He was the husband of the presumed goddess Flidais of the Tuatha Dé Danann. [SEP] Knowledge 2: Rudraige mac Sithrigi
Rudraige mac Sithrigi, was, according to medieval Irish legend and historical tradition, a High King of Ireland.The son of Sitric, he took power after killing his predecessor, Crimthann Coscrach, and ruled for thirty or seventy years, after which he died of plague in Airgetglenn.He was succeeded by Finnat Már, son of Nia Segamain.He is the ancestor of Clanna Rudraige.

Answer: Fer Corb