an (English) comes from Middle English ān, from Old English ān, from Proto-West Germanic ain, from Proto-Germanic ainaz, from Proto-Indo-European óynos — one; single.
Ancestry of “an”, step by step
an traces back through two separate lines of ancestry.