The story
- Proto-Indo-European*pénkʷe
- Proto-Germanic*fimf
- Proto-Indo-European*déḱm̥
- Proto-Germanic*tehun
- Proto-Germanic*fimftehun
- Old Norsefimmtán
- Danishfemten
- English todayfemto-
From Danish femten (“fifteen”), with reference to the (negative) exponent in the relevant power of ten; the same principle also explains atto-.
Etymology from Wiktionary, CC BY-SA 4.0.