Dave Radcliffe’s polynomial activity part 2

Last week I saw some really neat tweets from Dave Radcliffe. For example:

Those tweets led to a fun project yesterday:

Dave Radcliffe’s polynomial activity day 1

Today I had each of the boys explore (1 + x + x^2)^n mod 2 and mod 3. This is a harder exploration to do by hand (and made harder because I was out this morning and they worked on it alone). Still, it was interesting to hear what they had to day.

My younger son chose the more complicated activity of looking at the powers mod 3. Here’s what he found:


We then went to the computer to check if any of the patterns he thought were there would continue. He had some ideas but unluckily none of them worked. We’ll play more later to see if we can crack the code on the patterns:


Next I talked to my older son. He looked at powers of the polynomial (1 + x + x^2) mod 2.

Here’s what he noticed:


He didn’t have any conjectures, so I showed him the picture that Dave Radcliffe tweeted and that led to him seeing some additional patterns in what he’d written down on the sheet of paper:


So, I’m glad I saw Dave’s tweets because this project is a great computer math exercise. Exploring powers of these polynomials would have been next to impossible without the computer help, but with the computer help we were able to explore a few patterns. It’ll be fun to try to find ways to explore the patterns a bit more and see what we can find.

Dave Radcliffe’s polynomial activity day 1

Saw this really fun tweet from Dave Radcliffe yesterday:

This looked like a fun project for kids, though it wasn’t obvious how to get started. It turns out that Mathematica has a handy function called PolynomialMod[] that tells you what a polynomial looks like modulo an integer – so that made life easier!

I decided that for today’s project we’d explore (1 + x)^n using Mathematica and see what patterns we could find. The introduction to today’s project involved introducing basic polynomial multiplication. Luckily, a natural way to multiply polynomials looks a lot like multiplying 2-digit numbers. I used that connection to introduce the project:

After the introduction I had the boys play on Mathematica and compute various powers of (1 + x)^n starting with (1 + x)^0. We got a little confused between Fibonacci numbers and Pascal’s triangle, but here is what they saw:

For the last part of the project today we used PolynomialMod[] to look at the various powers of (1 + x)^n in mod 2. I wanted to get them used to this Mathematica function to make it easier to explore (1 + x + x^2)^n mod 2 tomorrow. After they explored the powers of (1 + x)^n mod 2 up to n = 8, we talked about patterns in the numbers:

So, a fun little computer math project. It was fun to hear the kids talk about the patterns and also fun to talk about some basic ideas like polynomial multiplication and modular arithmetic. Definitely excited to explore some of the more complicated patters tomorrow.

A neat problem Dan Anderson shared with us

We’ve spent the last couple of days studying divisors of integers – mainly the number of divisors and the sum of those divisors. This topic came to us via a “things you should know for math contests” list that math team at my older son’s school gave to the kids.

We’ve used Mathematica to help us get a feel for these topics and that computer work (I assume) prompted Dan to share this problem with us:

The problem is: Find the first triangular number with more than 500 divisors.

I asked the boys if they wanted to try to tackle this problem, and they wanted to give it a try. So . . . off we went:

Once the kids understood the problem, I thought it would be useful to spend some time talking about how we could approach the problem. The boys had some pretty good ideas:

The one thing I wanted to spend some extra time on was an alternate way to calculate the triangular numbers. The method that the boys proposed was actually fine, but it seemed like an extra couple of minutes talking about a different approach would be time well spent:

Now we went to the computer to implement our plan. We found that the 12,375th triangular number, 76,576,500, was the first triangular number with more than 500 divisors:

The boys were a little surprised to learn that the first triangular number with more than 500 divisors was smaller than the one with exactly 500 divisors. In fact, we didn’t even find one with 500 divisors yet. In the next part of the project we looked for that number. We did find that number, but it was much larger than we expected – the 1,569,375th triangular number is 1,231,469,730,000, which has exactly 500 divisors!

We wrapped up by looking at 5 of the triangular numbers with exactly 500 factors. They all shared a common factor of 16. We decided to look to see if there was an odd triangular number with exactly 500 factors. As of now (3 hours) after finishing up the project, the computer has not found one.

So, a really fun computer project with the boys. Thanks to Dan Anderson for providing this challenging problem!

A scary approach and a not-so-scary approach to a challenging math problem

Today was the last day of math projects for at least a week because of some vacation and work travel. Rather than jumping ahead in our book I thought it would be neat to show them an interesting identity in Pascal’s triangle.

Here’s a scary way to ask about this identity:

Prove that for any integer n greater than 0:

{n \choose 0}^2 + {n \choose 1}^2 + \ldots {n \choose n}^2 = {2n \choose n}

Instead of taking the scary approach, we started today’s problem by talking about counting paths in a square grid. We explored this type of question for the first time in yesterday’s project:

What learning math sometimes looks like: Counting paths in a grid

Here’s what the boys thought about counting these paths today followed by their approach to counting a few subsets of the total paths:


In the last video we started counting paths that passed through specific points in the diagonal of the grid. Here we finish off that calculation to find an interesting, though fairly complicated-looking expression:


For the last part of the project we take a look at what this identity means in terms of Pascal’s triangle. The fairly easy to see relationship here is a nice surprise! Once the boys see the surprise, they are able to find other cases of this identity in Pascal’s triangle


So, a fun project before we take a break for a week. The connections with counting and Pascal’s triangle really are amazing 🙂

Introduction to counting with combinations

This morning we started looking at combinations and “choosing” numbers. I think this is one of those topics that seems much easier after you’ve learned it than it seemed when you were learning it. After a quick introduction to the idea of choosing number, the boys worked on an example problem that involved counting the number of games in a round robin tournament:

The were able to work through that problem, but I thought that thinking through it again would still be helpful, so we reviewed the problem from start to finish.

First – how did we think about this problem before we talked about choosing numbers?


After that quick review we began to talk about choosing numbers. I let the boys explain their ideas about these numbers. One fun thing that happened in this part of our project is the boys discovered that there is a little bit of symmetry in these numbers:


Now we looked at patterns that arise in the choosing numbers. There’s a little trick that I mistakenly thought we’d already talked about – that 0! = 1. After telling them that was simply a definition, we moved on to finding a fun pattern that comes up in the choosing numbers – Pascal’s triangle!


Finally, as a way of confirming the connection to Pascal’s triangle, we looked to see if the addition relationship between two rows of the triangle also shows up in the choosing numbers. This is one of the first examples of a combinatorial proof that the boys have seen!


So, a really fun project showing that counting has some surprising connections to other topics in math. It was fun to hear their ideas (and their surprise) when they found the connection to Pascal’s triangle. Showing them a basic combinatorial proof at the end was fun, too – those proofs can be absolutely amazing!

Counting, Pascal’s triangle, and binary numbers

In yesterday’s counting project the boys noticed a connection between a counting problem and binary numbers. Here’s that project:

Revisiting an AMC 10 Counting Problem

For today’s project I wanted to explore that connection an a little more depth. To start off we looked at the connection between counting arrangements and Pascal’s triangle:

In the first part of this project we saw a connection between counting pairings of tourists and guides has a interesting connection with Pascal’s triangle. Here we look more carefully at that connection by trying to understand how the rule that tells you how to construct the rows of Pascal’s triangle also shows up when you count these pairings.

We explored the connection here in two parts. In this first part we show the 6 ways that you can pair 4 tourists with 2 guides when each guide has 2 tourists. We also show the 3 ways to pair 3 people with 2 guides where the first guide gets 1 person and the 3 ways to pair 3 people with 2 guides where the first guide gets 2 people.

Now we are ready to find the connection between the two lists me made in the prior video. That connection is important because it shows that the same addition rule that gives the rows of Pascal’s triangle also applies to counting arrangements of certain sets, and therefore helps you understand why Pascal’s triangle helps you count those arrangements.

In the last part of the project we explore the connection between binary numbers and Pascal’s triangle. We do this using an example of 5 digit binary numbers (from 00000 to 11111). This connection allows you to see that the rows of Pascal’s triangle always add up to be a power of 2.

So, a nice little project showing some fun connections between Pascal’s triangle, counting, and binary numbers. Some of these connections are pretty deep and I certainly don’t expect that the boys will have understood every detail from this project. They did seem to have fun with it, though, and their understanding seems to have come a long way from when we worked through the AMC 10 problem earlier this week.

Talking through Dan Anderson’s mod 2 Pascal’s Triangle

Saw this tweet from Dan Anderson today:

I didn’t have the best math talks with the boys this morning and was sort of bummed out about it all day. Because the problem Dan posted has a really surprising and fun math connection in the solution I thought that going through it would help us end the day on a better note than we how we started it.

Slightly unfortunately we were a little pressed for time, but it was still a nice little project.

We started by just talking about Dan’s problem and about Pascal’s triangle in general by taking an initial look to see if we can find any pattern in the number of odd numbers in each row. The boys noticed a few interesting patterns.

We started this next section by talking in a little more detail about some of the patterns. My younger son noticed that there were a couple of patterns relating to the rows whose number was a power of 2.

The boys used the ideas they found here to take a guess at the number of odd numbers in rows 2048 and 2047, but weren’t sure how to get back to row 2015, yet.

This next section is where I’m a little bummed that we were pressed for time. I wanted them to brain storm about other things that were related to powers of 2, but they got a little stuck.

I used the idea from the picture in Dan’s tweet to write Pascal’s triangle mod 2. Writing out the triangle that way made my older son think about binary. They also were surprised to see something that looked like Sierpinski’s triangle emerging on the board!

From there we wrote out the row numbers in binary and looked for a connection to the number of odd numbers in each row. The surprise in this problem is that there is indeed a connection!

With the clock ticking down to when they had to get out the door, we went to Wolfram Alpha to see what 2015 was in binary. From there they boys guessed that that the number of odd numbers in row 2015 of Pascal’s triangle would be 1024. Wolfram Alpha confirmed this conjecture.

So, though I wish I would have had more time, this was still a fun little project. I’m always trying to help the boys see fun connections in math. Here I really had to show them the connection rather than letting them discover it, but that’s going to happen every now and then. Happy to end the day with this fun project.