One of my favorite poets -- with a varied selection of mathy poems -- is the Czech poet Miroslav Holub (1923-28), an immunologist as well as a poet and one who also wrote about the horrors of World War II.
Here is one of his poems that I gathered in this 2001 collection Numbers and Faces: A Collection of Poems with Mathematical Imagery, entitled "The Parallel Syndrome."
The Parallel Syndrome by Miroslav Holub (translated by Ewald Osers)
Two parallels
always meet
when we draw them by our own hand.
The question is only
whether in front of us
or behind us.
Whether that train in the distance
is coming
or going.
The collection named above, in which Holub's poem appears, is available here.
This link leads to results of a blog search for previously posted poems by Holub..