Bamidbar3:1

וְאֵלֶּה תּוֹלְדֹת אַהֲרֹן וּמֹשֶׁה בְּיוֹם דִּבֶּר יְהוָה אֶת־מֹשֶׁה בְּהַר סִינָי׃

And these are the generations of Aharon and Moshe on the day the Eternal spoke with Moshe on Mount Sinai.

Bamidbar 3:1

וְאֵלֶּה תּוֹלְדֹת אַהֲרֹן

Bamidbar / Numbers 3:1

וְאֵלֶּה תּוֹלְדֹת אַהֲרֹן וּמֹשֶׁה בְּיוֹם דִּבֶּר יְהוָה אֶת־מֹשֶׁה בְּהַר סִינָי׃

And these are the generations of Aharon and Moshe on the day the Eternal spoke with Moshe on Mount Sinai.

Pshat פְּשָׁט

Children saved by prayer

Rashi: the verse names only the sons of Aharon (Aaron), yet they are called the generations of Moshe (Moses) too, because he taught them Torah: whoever teaches Torah to another's son is as if he gave birth to him. Kli Yakar asks: but Moshe taught the whole people. And he answers: after the calf the Eternal wished to destroy Aharon's sons, and Moshe saved two of them, Elazar (Eleazar) and Itamar (Ithamar), by his prayer, so they are like his children.

How Rashi and Kli Yakar explain it

Remez רֶמֶז

Three times "these"

Rabbeinu Bahya: the word "these" stands three times in a row and hints at three births: by the mind, from Moshe (Moses), by the body, from Aharon (Aaron), and a new birth by the attributes of the Eternal. The first two were at one time, so they have the letter vav, "and these," and the third does not. Baal HaTurim: the dividing mark after the word "firstborn" shows that the firstborn here is not Nadav (Nadab) but Aharon, the firstborn beside Moshe.

How Rabbeinu Bahya and Kitzur Ba'al HaTurim explain it

Drash דְּרָשׁ

Whoever teaches has given birth

The Talmud teaches: whoever teaches Torah to another's son, Scripture regards as if he had given birth to him. Moshe (Moses) taught the sons of Aharon (Aaron), so the verse says "the generations of Aharon and Moshe," though only the sons of Aharon are named: Aharon begot and Moshe taught.

How Talmud, Sanhedrin explain it

Sod סוֹד

Moshe's path in the Levites

Sefat Emet: the "generations" in the Torah are new paths that the fathers of the world drew down from above, and Moshe (Moses) drew the path of the Torah into this world. Israel did not hold that level because of the sin, but the Levites held it and so are called the generations of Moshe. Since Israel cleaves to the Levites and the Levites to the kohanim, all keep a hold on the root, and the strength received at the Giving of the Torah is not lost.

How Sefat Emet explain it