Question: Which daughter-in-law of Judah and mother of Perez and Zerah is mentioned in both the Vayeshev and the Book of Genesis?
Context: The Lion of Judah is the symbol of the Hebrew tribe of Judah (the Jewish tribe).  According to the Torah, the tribe consists of the descendants of Judah, the fourth son of Jacob.  The association between Judah and the lion, most likely the Asiatic lion, can first be found in the blessing given by Jacob to his son Judah in the Book of Genesis. In the Book of Genesis, Tamar ( ; , ] ) was the daughter-in-law of Judah (twice), as well as the mother of two of his children: the twins Perez and Zerah. The Battle of Zephath, according to the Bible, occurred during the dates of 911-870 BCE, in the reign of King Asa of Judah.  It was fought at the Valley of Zephath near Maresha in what is now Israel, between the armies of the Kingdom of Judah under the command of King Asa and that of the Kushites and ancient Egyptians under the command of Zerah the Ethiopian who, given the time frame with Asa's reign, may either be Pharaoh Osorkon II or Osorkon I.  The warriors of Judah were victorious in the battle after utterly defeating the Egyptians and Kushites, by divine intervention as written in the Bible and Asa's forces collected a large volume of war spoils.  Asa's forces pursued the enemy stragglers as far as the coastal city of Gerar, where they halted due to exhaustion.  The result of the battle created peace between Judah and Egypt until the time of Josiah some centuries later, when the latter would again make encroachments in the region. Judah bar Ilai, also known as Judah ben Ilai, Rabbi Judah (Hebrew: ‎ ‎ , translit: "Yehuda bar Ma'arava", lit.  "Judah of the West"), was a 4th generation "tanna" of the 2nd Century and son of Rabbi Ilai I.  Of the many Judahs in the Talmud, he is the one referred to simply as "Rabbi Judah" and is the most frequently mentioned sage in the Mishnah. Judah (Hebrew: יְהוּדָה‎ ‎ , "Yehuda" "Yəhūḏāh") was, according to the Book of Genesis, the fourth son of Jacob and Leah, the founder of the Israelite Tribe of Judah.  By extension, he is indirectly eponymous of the Kingdom of Judah, the land of Judea and the word "Jew". Judah b. Meremar (or Judah Mar b. Meremar, or Rab Judah;, or Judah b. Amemar, Hebrew: יהודה בר מרימר) was a seventh generetion Amora sage of Babylon, son of Maremar, dean of the Sura Yeshiva Academy.  His rulings are mentioned in the Talmud, and so are his Halakhic habits, one of them concerning the law of ""At his day thou shalt give him his hire"", in which he tells his assistant to hire a laborer to work for him, and to commit that the landlord - he himself, Judah b. Meremar - would pay him.  Since he feared he might violate the law of ""At his day thou shalt give him his hire"", it was a way for him not to hire the laborer, so he would not be bound to this commandment. Vayeshev, Vayeishev, or Vayesheb ( – Hebrew for "and he lived," the first word of the parashah) is the ninth weekly Torah portion (, "parashah") in the annual Jewish cycle of Torah reading.  The parashah tells the stories of how Jacob's other sons sold Joseph into captivity in Egypt, of how Judah wronged his daughter-in-law Tamar and discovered his transgression, and how Joseph served Potiphar and was imprisoned when falsely accused of assaulting Potiphar's wife.  The parashah constitutes Genesis The parashah is made up of 5,972 Hebrew letters, 1,558 Hebrew words, and 112 verses, and can occupy about 190 lines in a Torah Scroll (, "Sefer Torah").  Jews read it the ninth Sabbath after Simchat Torah, in late November or December. Achan ( ; Hebrew: עכן‎ ‎ ), the son of Carmi, the son of Zabdi, the son of Zerah, of the tribe of Judah, is a figure who appears in the Book of Joshua in the Hebrew Bible in connection with the fall of Jericho and conquest of Ai. Husham was a king of Edom mentioned in the Bible, in Genesis 36:31-43.  He succeeded Jobab ben Zerah in the apparently elective kingship of the Edomites.  He is mentioned as being from "the land of Temani", which may refer to the Edomite clan Teman.  Husham was succeeded upon his death by Hadad ben Bedad. According to the Book of Genesis, Pharez/Perets () was the son of Tamar and Judah, and the twin of Zerah.  The name is transliterated to English as both "Perets " (NIV, ESV, NKJV) and "Pharets" (KJV).  Perets , in Hebrew means "breach or burst forth" and is named after the narrative of his birth as recorded in Genesis 38:29.
Answer: Tamar