I look upon Mathematics as distinct from "Science", and "Poetry and Mathematics" as a mix that provokes issues distinct from those of the more commonly discussed "Poetry and Science" mix, so it's interesting to see how real poets handle maths. However, as an integration of the 2 disciplines I find poems like Wislawa Szymborska's Pi rather disappointing. It focusses on one feature of pi, namely that its digits go on forever without repeating. But the vast majority of numbers' digits go on forever. The poem's allusions aren't pi-related - e and the golden mean might have been more appropriate choices, or the square root of 2 - though it's not a transcendental number, it's an irrational one. If she'd written a poem called "Hamlet" or "Childbirth" with this amount of empathy with the subject I could imagine readers being unhappy, but poets get an easy ride when they use Mathematics. That said, the outsider's viewpoint is one perspective, and at least this name-dropping ensures that the poetry audience isn't alienated.

A photo of a test-tube isn't a fusion of Art and Science in the way that opera combines Music and Drama. I think many poems about maths are like that photo rather than like opera - if they're good (and they may well be) it's not because of their understanding of the subject matter. However, if I'm accusing Szymborska of being in some sense shallow what do I mean by "deep"? Mathematically important, characteristic, fundamental? Can a mathematician's notion of beauty or depth be tranferred into poetry? The Greeks were allegedly upset when the square root of 2 was shown to be irrational - the proof's short and elegant too. Godel's results shook the foundations of maths. The Continuum Hypothesis underpins many other results. All of these are perhaps worthy topics. For style, perhaps Tractatus or some of Spinosa's texts offer a model. I've seen some contemporary attempts to bring more balance to the poetry/maths mix

- In the 2002 Bridport Poetry competition, Dr Frank Tapiador won a supplementary prize. I seem to recall that the poem had formulae in it
- Michael Bartholomew-Biggs was a reader in Computational Mathematics before recently retiring. "Uneasy Relations" has notes to accompany the maths-inspired poems.
- Both Peter Howard and I have written poems about e
^{iπ}, and I'm sure we're not the only ones.

Ted Chiang's prize-winning short story Division by Zero is serious about maths too, and Alice's Adventures in Wonderland has many allusions - "Wonderland's madness reflects Carroll's views on the dangers of the new symbolic algebra" (Melanie Bayley in New Scientist, 16 December 2009)

Of course, there's more to mathematics than numbers. Perhaps in these other topics (topology, combinatorics, the Mobius Strip, Godel's theorems, etc) there are more fertile possibilities. Fractals excite some - "Fractals may be the most complex and the most subtle examples of patterns found in both mathematics and poetry ... When poets borrowed ideas from fractal geometry and applied them to the reading and writing of poetry, they made a remarkable intellectual leap" (M. Birken and A.C.Coon, "Discovering Patterns in Mathematics and Poetry", Rodopi, 2008, p.167)

Or perhaps I'm looking too hard for deep similarities. Poetry and maths are activities that humans do, so they're bound to share features just as Cookery and Woodwork do: both require good ingredients, careful preparation, a balance between function and beauty, between the parts and the whole. With Poetry and Maths

- there's the attitude, the stance vis a vis the visible world. According to Frye, [both literature and mathematics] "proceed from postulates, not facts; both can be applied to external reality and yet exist also in a 'pure' or self-contained form. Both, furthermore, drive a wedge between the antithesis of being and non-being that is so important for discursive thought", Frye, "Anatomy of Criticism", 1957, p.351
- there's the compression and elegance of expression.

In Mathematics influences poetry by JoAnne Growney there's a reasonable list of points of contact

- mathematics and poetry demand similar creativities
- constraints involving mathematics give poets the opportunity to discover new language
- mathematics offers precise and vivid imagery for poems.

In A Mindful Beauty: What Poetry and Applied Mathematics Have in Common ("The American Scholar", Autumn 2009) Joel E. Cohen writes

- Like poetry, applied mathematics combines multiple meanings, economy, pattern, and mystery. In its scientific or practical applications, applied mathematics points to something external. It also alludes to prior mathematics. Its few symbols convey a lot. Its use of symbols often involves internal repetition, symmetry, and chiasmus. It is replete with unexpected truths, unexpected applications, and diverse proofs that illuminate different aspects of a single truth.
- As apples do differ from oranges, poetry does differ from applied mathematics, despite their commonalities. For example, in poetry, but not mathematics, sound and "mouthfeel" (Galway Kinnell) matter. In applied mathematics, unlike poetry, calculation and shared scientific concepts and data, rather than intimate experience, lend conviction. Examples of differences could be multiplied. They do not undermine the significance of the similarities.

I think it's over-ambitious to take matters further than that. All the same, I think mathematical allusions deserve to be followed-up as assiduously as literary ones.

Computing though is a rather different issue. There are many computing languages to choose from, and they needn't be used merely to describe and prove. Some poems (particularly kinetic Concrete poems or those involving procedural poetics) are already programs. In addition

- In "These Days" by Leontia Flynn (New Gen poet) there's a poem with fragments of a computer program - "Perl Poem"
- A winner in the "7th International Obfuscated C Code Contest" was westley.c - the source code is readable, and the compiled code does something appropriate.
- Peter Howard's also published poems about computing. Some (e.g. 68000 Mornings) are online
- In "Digital Poetics", by Loss Pequeno Glazier (University of Alabama Press, 2002), the author gets rather excited about the poetic potential of Unix - "[Unix] can also be seen as highly poetic, employing sparse, condensed syntax for powerful effects. ... It offers possibilities for conceptualising space that are compelling ... These and many similar features suggest that UNIX is a system with intensely compelling poetic features"

Many online poems exist, written in Flash, etc. I've only recent found The periodic table as assembled by Dr. Zhivago, oculist which a collaboration between a writer and a computer programmer showing how chemistry terms can be translated into literary ones by a computer program.

- Mathematical Poetry - A Small Anthology
- Mathematics in Poetry (Journal of Online Mathematics and Its Applications)
- STRANGE ATTRACTORS: Poems of Love and Mathematics
- Mathematical Poetry
- Beauty Bare: The Sonnet Form, Geometry and Aesthetics
- "Poetry and Mathematics", Scott Buchanan, Univ Press of Virginia, 1929.
- "Poetry and Mathematics", in "Style and Authenticity in Postmodern Poetry", Jonathan Holden, Univ of Missouri Press, 1986.
- DOVETAILING DETAILS FLY APART ALL OVER, AGAIN, IN CODE, IN POETRY, IN CHREODS by Stephanie Strickland and Cynthia Lawson Jaramillo