tretten (Norwegian Nynorsk) comes from Norwegian Bokmål tretten, from Danish tretten, from Old Norse þrettán, from Proto-Germanic þritehun, from Proto-Germanic tehun, from Proto-Indo-European déḱm̥t — ten.
tretten (Norwegian Nynorsk): thirteen