Genesis 5:28-31

5:28 When Lamech had lived 182 years, he had a son. 5:29 He named him Noah, saying, “This one will bring us comfort from our labor and from the painful toil of our hands because of the ground that the Lord has cursed.” 5:30 Lamech lived 595 years after he became the father of Noah, and he had other sons and daughters. 5:31 The entire lifetime of Lamech was 777 years, and then he died.

Luke 3:36

3:36 the son of Cainan, the son of Arphaxad, the son of Shem, the son of Noah, the son of Lamech,