"Inspired by the author’s grandchildren, this book offers up a playful approach to mathematics learning using the block-based coding language pioneered by Scratch. Dr. Michael Mays has done a compelling job of using a creative coding platform to enliven and enrich young people’s engagement with math, by using coding to engage with numbers, puzzles, and patterns."<br /> <b>—Margaret Honey, President & CEO, Scratch Foundation<br /><br /></b>"Michael Mays' <i>Math Hacks for Scratch</i> is a combination of code and calculation that I wish I had as a student. It takes the challenges you find in math books and adds a Scratch programming twist. These 33 projects are more fun than doing math on a boring whiteboard."<b><br />—Al Sweigart, software developer and bestselling author of <i>Automate the Boring Stuff with Python </i></b>
Chapter 1: What Computers Think About Numbers
Chapter 2: Exploring Divisibility and Primes
Chapter 3: Splitting Numbers With Priem Factorization
Chapter 4: Finding Patterns in Sequences
Chapter 5: From Sequences to Arrays
Chapter 6: Making Codes, and Cracking Them Too
Chapter 7: Experiments in Counting
Chapter 8: Three Helpings of Pi
Chapter 9: What Next?
Appendix: Programming Challenge Hints