Most likely, you're thinking of Yehuda ben Teima in Avot 5:21, which is of the form you describe, though with a different particular list:
הוּא הָיָה אוֹמֵר, בֶּן חָמֵשׁ שָׁנִים לַמִּקְרָא, בֶּן עֶשֶׂר לַמִּשְׁנָה, בֶּן שְׁלשׁ עֶשְׂרֵה לַמִּצְוֹת, בֶּן חֲמֵשׁ עֶשְׂרֵה לַתַּלְמוּד, בֶּן שְׁמֹנֶה עֶשְׂרֵה לַחֻפָּה, בֶּן עֶשְׂרִים לִרְדֹּף, בֶּן שְׁלשִׁים לַכֹּחַ, בֶּן אַרְבָּעִים לַבִּינָה, בֶּן חֲמִשִּׁים לָעֵצָה, בֶּן שִׁשִּׁים לַזִּקְנָה, בֶּן שִׁבְעִים לַשֵּׂיבָה, בֶּן שְׁמֹנִים לַגְּבוּרָה, בֶּן תִּשְׁעִים לָשׁוּחַ, בֶּן מֵאָה כְּאִלּוּ מֵת וְעָבַר וּבָטֵל מִן הָעוֹלָם:
He [Yehudah ben Teima] used to say: Five years [is the age] for [the study of] Scripture, Ten [is the age] for [the study of] Mishnah, Thirteen [is the age] for [observing] commandments, Fifteen [is the age] for [the study of] Talmud, Eighteen [is the age] for the [wedding] canopy, Twenty [is the age] for pursuit, Thirty [is the age] for [full] strength, Forty [is the age] for understanding, Fifty [is the age] for [giving] counsel, Sixty [is the age] for mature age, Seventy [is the age] for a hoary head, Eighty [is the age] for [superadded] strength, Ninety [is the age] for [a] bending [stature], One hundred, is [the age at which one is] as if dead, passed away, and ceased from the world.