Notes

These are informal notes, written either for a specific purpose or for fun. Very little here is new, and comments or corrections are always welcome.

2. Primes as sums of squares. A note proving that any prime congruent to $1 \pmod 4$ can be written as a sum of two squares, using an algorithm that constructs the representation. PDF · Mathematica notebook

1. Abracadabra. A note on a favorite martingale proof for the expected time it takes a monkey to type the word ABRACADABRA. PDF