un
/un/ · A1 · article
an
un = short for uno, from Latin unus (one) — same root as unit and unique
Spanish un is uno with the final o dropped before a masculine noun: un libro = a book, literally one book. English a/an also began as the word one, so both languages made their indefinite article the same way.