Adam Cunningham

Department of Biostatistics

University at Buffalo


Fall 2017

Spring 2017

Fall 2016

Fall 2015

Free To Share

Primitive Pythagorean Triples

Primitive Pythagorean Triples displayed as triangles in a plane

A visual representation of the integer solutions to the equation a2 + b2 = c2.

Goldbach Conjecture

Partitions of even numbers into two primes

A visual representation of the partitions of even numbers as the sum of two primes.

Mandelbrot Set Generator

Mandelbrot set satellite

Python code for a Mandelbrot set generator using Pygame, showing both the escape times and the internal structure.

Math and Programming

Computer-Aided Parts Estimation (CAPE)

Stamped metal automotive part

A. Cunningham and R. Smart, "Computer-Aided Parts Estimation" AI Magazine, Volume 14, Number 3, (1993)

Probability and Statistics

Probability Cheat Sheets

Statistics Cheat Sheets

Linear Regression Cheat Sheets

Community Involvement

Upstate Cubing

Twisty puzzles created by Eli Fox

In April 2018, my son Eli and I organized the first ever Rubik's speedcubing competition in Western New York. The Batavia Daily News Online did a nice interview with Eli, and covered the event on the day. WGRZ in Buffalo also had some great coverage.

Corfu Free Library

Corfu Free Library building

During my term as co-president of the Corfu Free Library from 2007 to 2011, the library underwent a major expansion and renovation, added a new children's wing, and moved from a paper-based to an online reservation system.

Byron Dig


I worked for six summers as a volunteer at the Hiscock site in Byron, New York, until it closed in 2011. This site dates back to the end of the last ice-age, and was the scene of many mastodon fossil discoveries.