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.

Angry Birds and Snap Cubes: Using Bryna Kra’s MoMath public lecture to talk math with kids

Last night I watched Bryna Kra’s public lecture at the Museum of Math:

 

I’m not quite sure how to talk through some of the simple dynamical system ideas in the lecture, but the earlier material about patterns and the pigeonhole principle are definitely fun topics to talk about with kids. We used our collection of snap cubes and Angry Bird stuffed animals as props 🙂

In the first part of the talk we introduce the pigeonhole principle and talk through a simple pattern with only single blocks based on one of the elementary patterns Kra uses in her talk. This simple pattern allows us to get a little bit of practice identifying the “pigeons” and the “pigeonholes” in a problem:

 

In the second talk we look at a slightly more complicated pattern – patterns you get with two blocks rather than one. For this pattern we consider the order of the birds to be important – so a (red, blue) group is different than a (blue, red) group. The example we look at in the last part of today’s talk will consider those two groups to be the same.

The boys were able to see the four different patters that we could make with the two birds / blocks. My older son even noticed a connection with Pascal’s triangle which was fun to see. We then talked about how to count the different types of pairs by looking at the number of choices we had for the first bird and for the second bird. That led my younger son to wonder if there would be a total of 9 groups of two birds if we allowed three different birds in the pattern. Pretty fun discussion:

 

At the end of the last talk my younger son wondered what would happen if we used three different colors of blocks rather than two. I hadn’t planned on discussing that problem, but what the heck! It was interesting to see the kids figure out how to group the blocks to make the 9 pairs. They were also now able to see how the patterns would continue if we varied the colors and/or number of blocks in the pattern. Fun little exercise. Watching this again I wish I would have spent a little time responding to my older son’s comment that there was no connection to Pascal’s triangle pattern anymore – oh well, next time!

 

Our last project was a slightly different twist on the Pigeonhole principle. We looked at a tournament involving 4 birds in which each game involves 2 birds. The question I had the boys look at was this: If there are 7 total games played in this tournament, show that at least two of the games must involve the same two players.

I liked their approach to solving this problem. Their instinct was to solve the problem by listing out all of the types of games that could happen. If we were at our whiteboard I would have drawn a square with its sides and diagonals, but their list of all of the types of games was good enough for this project. They had a little difficulty identifying the pigeons and pigeonholes here, but that’s ok, it isn’t always so obvious how to make that identification.

 

So, a fun project based on another MoMath talk. See here for our last project based on a MoMath lecture:

Part 3 of using Terry Tao’s MoMath lecture to talk about math with kids

I think the public lectures at the Museum of Math are a great way for kids to see some amazing math. There will surely be some lectures that are too advanced for young kids, but many of these lectures have ideas in them that are not hard at all for kids to understand. With Bryna Kra’s lecture, the ideas about patterns and the pigeonhole principle are topics that kids can play with and really enjoy. I’m super glad that MoMath is making these lectures available to the public. It is really fun to show kids some ideas that professional mathematicians use in their research, and hopefully also a great way to inspire a new generation of mathematicians!

Amazing how many things connect to the number 11.

A few weeks ago David Wees asked the following question on Twitter:

The there were many fun answers to David’s question if you click through to the thread on twitter.  There’s another one in this super blog post that Patrick Honner linked last week, too:

The ideas in Vincnet Knight’s post have been kicking around in the back of my mind for several days.  Today I stumbled on an old favorite Ben Orlin post that sort of connected the dots for me:

A Teaching Philosophy I’m Not Ashamed Of

This quote, in particular, speaks volumes:  “Math is big ideas, approached from as many angles as possible.

Funny enough the dots that got connected led to nearly the opposite conclusion in this specific case.  For me the number 11 is a simple, or in Orlin’s words, small idea, but this small idea allows you to approach many different areas of mathematics directly.  It really is an incredible how useful this simple idea is.

We’ve had a lot of discussions where the number 11 proved to be a surprisingly useful starting point.  One interesting connection is Pascal’s triangle.  We discussed how Pascal’s triangle relates to powers of 11 here:

Pascal’s Triangle and Powers of 11

Here’s a sample of that discussion:

 

Another fun discussion that related to the number 11 came when we were talking about converting numbers between bases:

All about that base: A fun exercise from Art of Problem Solving

Here’s a sample of that discussion:

 

Finally, although this technically relates to the number 12 (oh so close!) you could easily replicate this exercise for the number 11 and the polynomial (x + 1)^n:

Complete This Sentence: Math is _______

A sample of this discussion is here:

 

So, a lot of thinking on my end inspired by Vincent Knight’s post.  Who would have thought that this one little number could be so interesting!

A day in the life: building and extending number sense

I’m not entirely sure why but I’ve been spending a lot of time recently thinking about different ways to build up number sense.  About a week ago I started a chapter on similar triangles with my older son, and the problems in that chapter have helped me gain a better understanding of the importance of building “algebra sense” (for lack of a better phrase) too.    I’m surprised how many opportunities there are to focus on both of these topics now that I’m actively paying attention to them.   An odd coincidence today made me want to write up the conversations I had with my kids this morning.

But first I want to back up to a coincidence from yesterday.

As I mentioned above I’ve been studying similar triangles with my older son for a week or so.  The bit of math that seems to be giving him the most difficulty isn’t the geometry, it is working with the ratios that arise in the problems about similar trirangles.   Here’s one of the problems we worked through yesterday just to give an example of the ratios that come up in these problems:

I felt that it would be good to review some of the algebra behind these ratio equations before finishing the similar triangle section and found several sets of practice problems on Khan Academy that provided more or less exactly the review I was looking for.  Here’s one set for example:

Khan Academy Ratio problems

Although people have widely differing views about Khan Academy, I think one nice advantage that it has is that the problem sections are great for this type of review.

Interestingly last night Steven Strogatz posted this picture on twitter:

The similarity between the homework I wanted my son to do and the homework assignment in Strogatz’s tweet got me thinking about context.  The motivation to learn more about geometry was enough for my son to understand the purpose of the Khan Academy problems.  Actually, he even asked to do more.   I don’t know the context of the other homework assignment, but do think that without proper context that assignment could seem quite dull.  This coincidence from yesterday reminds me to be careful to be clear about why I’m asking the boys to do the homework I give them.

Now on to today . . . .

This morning my younger son and I were talking about palindromes (section 6.5 in Art of Problem Solving’s Introduction to Number Theory book).  We began with several simple examples – numbers like 11, 454, 34543 – and then he stopped me:

kid:  “I know a long list of palindromes.”
me:  “what is it?”
kid: [ writes the first 4 rows of Pascal’s triangle on the board ]

This example is definitely a fun one for looking at palindromes, but it also turns out to be a great one for building on number sense.  The connection I wanted to focus on was how the rows related to powers of 11, and how that connection seems to break down in the row:  1 5 10 10 5 1.

My first question to him was whether or not this specific row was a palindrome.  He surprised me by saying that although the number you get by putting all of the terms together, namely 15101051, was not a palindrome, you could get a palindrome you looked only at the last digits, so 150051.  Interesting observation.  We’ll have to return to this topic later when we talk about modular arithmetic!

My next question for him was about the powers of 11.  Starting at 11^0, the powers of 11 are 1, 11, 121, 1331, 14641, and 161,051.  Why did we lose the connection to Pascal’s triangle when we computed 11^5?  This led to a wonderful conversation about place value and eventually to showing why we did not actually lose the connection to Pascal’s triangle at all.  Really fun, and I think a neat way to talk through place value while getting in a little arithmetic practice, too.

Later in the morning my older son got tripped up on this problem from the 2006 AMC 8:

2006 AMC 8 problem 24

The problem has a really lucky connection to palindromes since an important observation in solving it is that one number is equal to another number multiplied by 101.  Talking through this problem also led to a good conversation about place value.  Luckily the notes from the conversation about Pascal’s triangle and place value happened to still be up on the board when this second conversation took place.

Seeing some of the earlier work that was on the board my older son said that he thought you could make the row 1 5 10 10 5 1 into a palindrome by working in base 11.  Ha – another unexpected response, but also now a wide open door to talk a little about what I’m calling “algebra sense.”

We quickly reviewed the place value conversation I had with my younger son about how the rows connect to powers of 11, but then looked at what happens in base 11.  Surprise –  powers of 12!!  Don’t think he saw that coming 🙂    Now maybe 5 to 10 minutes of conversation about what the polynomials (x + 1)^n and (x + y)^n look like and we’ve quite unexpectedly done some neat work that helps build up familiarity with algebra and algebraic expressions.

So a fun morning.  As I have the goal of working on number sense in the back of my mind, I’m excited to see all of opportunities that come up to work on it.  Algebra sense, too, but Strogatz’s post from yesterday reminds me to be extra careful about context.  It is fun to take advantage of the lucky times like this morning when that context appears almost by magic!