Peter Farrell
banner
hackingmath.bsky.social
Peter Farrell
@hackingmath.bsky.social
Math teacher and learner, trying to drag math education into the 21st Century. Heck, I'll settle for the 20th. Author of Math Adventures with Python.
This is my Python program to find all the possible ways to make a rectangle out of a number, even using negative numbers. And the simplest example of factoring 104 into 8 x 13 or (10-2)*(10+3). In general, for any size square, x*x + x - 6 = (x-2)*(x+3)
August 5, 2025 at 11:42 AM
Currently in mad scientist mode, adapting place value tiles as a puzzle where you make rectangles out of shapes. Unlike many #math games, when players figure out they're just factoring numbers they can get really good at it, and before they suspect anything, they're experts at factoring quadratics.
August 5, 2025 at 11:11 AM
Happy Eid al-Fitr! I'm still working on the Islamic #Geometry sketches. This one came out all right. It's based on a design found in a mosque in Marrakech. I found it in Eric Broug's book. Lots of transformations: reflection, rotation, translation. #math
March 30, 2025 at 3:20 AM
Generalized the pattern to draw any number of squares. It gets less interesting after 20 or so.
March 23, 2025 at 5:24 PM
More Islamic patterns with a #Python package based on @processing.org called py5. Also with a little too much trial and error from somebody who claims to be a math guy. 😬 📏
March 23, 2025 at 3:33 PM
Writing about learning #geometry through coding up Islamic patterns. Today it's hexagonal fractals! #math #programming #python
March 23, 2025 at 2:01 PM
What says Saturday fun more than multiplying and dividing 9th degree polynomials? You only need the coefficients. #math #python #programming
March 22, 2025 at 8:48 PM
They say I’m not a romantic guy but I never forget February 14th, the day in 1970 that The Who played their legendary concert at Leeds University, immortalized in their classic Live At Leeds album. ❤️👂🎸
February 14, 2025 at 9:33 PM
This year the family asked me to make #pizza for Xmas. #sourdough #baking
December 26, 2024 at 3:55 AM
Happy Advent of Code! Are you coding along this year? #Python
December 1, 2024 at 6:07 PM