Saturday, February 28, 2015

23 still isn't prime (sometimes)

who: J1 and J2
where: walking around the neighborhood
when: after lunch on a saturday

In response to our earlier discussion that 23 is prime in the integers but not in the rationals, someone on Google Plus (either Curious Cheetah or Paul Hatzer) mentioned that 23 isn't prime in base 9. That led to another good discussion with the kids.

We went through a bunch of bases larger than 3 and discussed whether 23 was prime in that base. A different way of seeing this is that we were looking for primes in the arithmetic series 2b+3:

BasePrime?
4Yes
5Yes
6No
7Yes
8Yes
9No
10Yes

They were really excited to feel that they had found a prime-making machine. At this point it seemed that a clear pattern had emerged: all primes except when the base is a multiple of 3. I asked if they had any ideas why and they quickly identified that, when the base is a multiple of three, then 3 will divide 2b+3. We went back to some lower bases for which 23 wouldn't be sensible, but we saw that our prime/non-prime pattern still held:

"Base"Prime?
1Yes
2Yes
3No
4Yes
5Yes
6No
7Yes
8Yes
9No
10Yes

Finally, of course, we had to see the bad news: this sequence doesn't hit primes on every base that isn't a multiple of 3 and, in fact, our earlier exploration had stopped just short of the first counter example:
"Base"Prime?
1Yes
2Yes
3No
4Yes
5Yes
6No
7Yes
8Yes
9No
10Yes
11No (boo hoo)
12No
13Yes

Wednesday, February 25, 2015

Build a chair

who: J2
where: our reception room
when: after swimming lessons

NRICH has a simple activity: use unifix cubes to make a table and chairs. Here's the building material we were supposed to use:

We don't have these cubes at home, so we used TRIO blocks instead. These are 1x 1x n cuboids with a top and a bottom that can be connected. There are also sticks that can connect from any side of  and block to any other side of any other block. these sticks are either 3 or 4 units long.

Here is J1's chair:



After building the set, I asked what he thought of the challenge. He had to solve 2 problems in the construction:
(1) How to deal with the corners where he could only have one block connect to the leg
(2) how to connect the middle of the table so it wouldn't fall through the hole.

His answer was to use a two layer table with corner pieces in the two layers arranged orthogonally. For the middle of the table, he has some sticks along the bottom that support the unattached pieces in the middle (you can see a slight depression in the picture.

Finally, since he knows about the unifix cubes from school, we got to talk about how this construction would have been different using that building set. As always, this compare and contrast discussion was really good for getting him to think about the characteristics of the materials he was using..

Tuesday, February 24, 2015

We noticed . . . (math class 11)

Who: Baan Pathomtham 1st and 2nd grade classes
Where: In school
When: after science and before lunch

Warm-up patterns Today, we started skip counting by 4 (first grade) and 6 (second grade). We are extending the damult dice game today and the kids benefit from as much practice as they can get.

What did we notice (dominoes)?


We split the class into pairs (the extra student went with P) with the following instructions: talk with your partner about what you noticed or discovered about the dominoes puzzle, write down one sentence and be prepared to share with the rest of the class. I assigned the partners and intentionally broke up traditional pairs. I made sure to have some boy-girl mixing and also paired students with different levels of historical engagement. Many kids had questions about what types of ideas they were meant to be discussing, so we gave them the following prompts:
  • What were your strategies for solving the puzzle?
  • What did you find for the smallest side sum?
  • What did you find for the largest side sum?
  • How many solutions did you find?
  • How did this compare with the triangle puzzle? What was the same, what was different?
After 5 minutes (longer on request by the first graders who were still writing), we regrouped to discuss.
With this structure, we had a really good conversation. There were a lot of ideas shared and some good debate about each of the points. Some highlights:
  1. Some students claimed to solve the puzzle by randomly ordering the paper dominoes we made last week. They were surprised when I praised this approach as they were expecting to be criticized. We discussed that the whole strategy was actually: make manipulatives, create a possible solution, check whether the solution is valid, reorganize into a different configuration. P emphasized that this is widely valid, if they are working on something and get stuck, one thing to try is to use a tool to help them, not to suffer in confusion.
  2. For each answer we discussed, there were usually multiple ideas. This gave kids an opportunity to talk about what they found and how they found it.
  3. Comparing with the triangle puzzles was a very rich vein for conversation. The contrast helped them identify structure in the puzzle that, otherwise, would have been either too subtle or too obvious to mention. For examples, the dominoes force the numbers to sit in pairs, the square arrangement has 4 sides vs 3 for the triangle, the domino puzzle had 8 numbers vs 9 (or 6) for the triangle puzzles, and there were some repeated numbers in the domino puzzle while the triangle puzzle had distinct digits.

What did we notice (damult dice)?

We repeated the discussion process again, this time based on playing damult dice. Again, this was a really good discussion, covering a range of ideas:

  • the smallest result possible (2= (1+1) x 2)
  • the largest result (72 = (6+6) x 6)
  • strategies to make the largest result with any given roll
  • strategies to make the smallest result with a given roll
  • why do we get so many multiples of 3? (more on this below)

"New" Game: exact damult dice

We turn again to Math4Love's page on Damult Dice. In the comments, there were many suggestions for extensions to the basic game. The one we introduced today was simple: you have to hit the target number of points exactly and you are allowed to subtract the result of your dice roll instead of adding it. The basic calculation remains the same: roll 3 dice, add two, then multiple the sum by the third.

This is a very simple extension, but it makes the game much richer. Gone is the simple strategy of accumulating as many points as you can on each roll, replaced by something a lot more subtle. I'm looking forward to hearing what the kids find.

Food for thought: Multiples of 3

Playing damult dice last week with my own son, we noticed that maximizing the result often gives us a multiple of three. The challenge: why is this the case and how often do multiples of three actually occur?

Monday, February 23, 2015

Divisible by 3

who: J2
when: at breakfast
where: at the dining table

We were recently talking about divisibility rules and J2 was particularly excited about testing large numbers for divisibility by 3. He asked me to provide a large one to see if his mother could figure out whether it was a multiple of 3. This was the resulting conversation:
J0: Let's try 12345678987654321
P: I think it is a multiple of 3
J2: <excitedly> It is!
J0: how do you know?
J2: well, it is a multiple of 111 and 111 is 37 x 3.
P: <stunned/surprised> How do you know it is a multiple of 111?
<conversation continues>
Of course, we parents expected to hear that he added the digits and saw that the digit sum was multiple of three. Unfortunately, that test is just a trick for him right now. He doesn't really understand how it works or why. His own approach wasn't a trick, but it was a bit lucky.

Our friend 12345678987654321
This is actually a number J2 has seen before. In reading the Number Devil, we played with a pattern:

1x1=1
11x11=121
111x111=12321
1,111x1,111=1234321
11,111x11,111=123454321
111,111x111,111=12345654321
1,111,111x1,111,111=1234567654321
11,111,111x11,111,111=123456787654321
111,111,111x111,111,111=12345678987654321

We spent a lot of time talking about these, checking them, and extending the pattern to see what would happen next. From here, it isn't so hard to see that 111 is a factor of 111,111,111 and, of course, everyone knows that 111 is 37 x 3. Right?

Some food for thought
  • Where does that sum of digits test for divisibility by 3 actually come from?
  • Does it work for any other numbers (hint: yes!)?
  • Wait, doesn't this mean that order of digits doesn't matter for those factors?
  • What is the divisibility test for 11 and why is it almost as cool as the one for 3?
  • What is the divisibility test for 7 and how does the name "primitive root" help explain how messy it is?
Unrelated Pictures
J1's first zometool project, showing the duality of the dodecahedron and icosahedron!

J1 tackles the NRICH table and chairs challenge, with TRIO blocks. More on this later?

A funny looking plant with a pretty flower that caught J1's eye.

Send me a message and projects 3 (programming class 17)

Who: Baan Pathomtham Grade 5
Where: at school
when: Monday morning for 2 hours

Reminder, this is our standard lesson plan for the rest of the term:
  1. New or review concepts
  2. Exercises related to the projects
  3. Project work

New/Review

Today, we had three new concepts: while loops, objects, and message passing. This was clearly too much for everyone to understand everything, so I focused on the while loops. My reason for introducing the other ideas and short programs was to give Titus some tools for his project.
These exercises and discussions were based on these two programs from the pencilcode guide:
While
Talking about while gave a natural opportunity to talk about for again. We had two segments to the conversation, first comparing while vs for, then deciding which is best for different scenarios.
  • Do you know how many iterations you want, before you start to loop? If so, use a for loop, if not, while.
  • Eating: while hungry, eat. If you use a for loop, you may either still be hungry or explode!
  • brushing teeth: while mouth feels dirty, brush your teeth.
  • Putting on socks: for [1..2] put on a sock
  • Cleaning vegetables for stir fry: while veggie bowl has food, clean and chop veggies
  • Adding eggs to a cake: for [1..numEggs], crack an egg and add it to your wet ingredients
  • etc 
This was a really good conversation as each kid had a chance to think about the funny outcome if you used a for when while was more sensible.

Shared Memory
We didn't talk extensively about the concept of an object. Like while/for, objects would pair naturally with arrays, but we also haven't talked a lot about them. For now, the kids should understand that the object is something like a chest of drawers with the drawers given their own names.

As our exercise, we extended the pencilcode guide program to use a button and add an extra value to create this program where the turtle's angle of rotation is entered through the input boxes and the distance moved each step is increased by the button:

Message Passing
Like shared memory,we didn't spend a lot of time on this new concept. However, inspired by Kan wondering why the program stopped responding to his button clicks, we slightly modified the guide program to use a while loop instead of the for loop. Our version is here.

Project exercises

Next week, I will focus the practice/exercises/review on concepts we've learned that are being used in the projects.

Projects and homework

As a reminder, I have stored copies of their work up to the start of today's class in this folder: Project Directory. The homework this week:
  • Kan: finish drawing his maze. Next module is to decide what penalty he wants when the turtle runs into the wall. This is the same assignment as last week. Unfortunately, he overwrote his maze drawing program sometime during the week.
  • Boongie. implement the penalty when the turtle runs into the wall, the turtle bounces back to a previous shell in the maze. There are several ways to do this and I'm curious to see his approach.
  • Win: create functions to ask subtraction, multiplication, and division questions. Another area to think about are gradations in how hard the questions are.
  • Titus: Use the shared memory and message passing code ideas we learned about today to check to see if the player chooses a match.

Friday, February 20, 2015

Chinese New Year math game

Who: J1 and J2
Where: dining room floor
When: after lunch

I've been asked to write about a new game designed by two of the J's.

Number of players: 2
Material required: stacks of banknotes with different denominations. We play with Thai notes, which come in 20, 50, 100, 500, and 1000 flavours.
Game play:
  • one player closes her eyes
  • the other player swaps several stacks of notes. when that player is ready, he slaps the ground to signal the non-looking player.
  • the non-looking player slaps a stack of banknotes. they get points equal to the denomination of the notes in the pile they slapped.
  • These points are added to a running total
Winning condition: unclear

Is it fun?
I think it depends on two factors: (a) did you invent the game and (b) how much do you like mixing, sorting, and counting stacks of money? If you answered "yes" to (a) or "very much" to (b), then you are in business.

Other ideas for Chinese New Year

Frankly, I was underwhelmed when I did a google search for math activities around Chinese New Year. Feel free to use these prompts to come up with your own:
  • 12 animals in the zodiac that serve as mascots for each year
  • properties of the lunar calendar
  • differences between the lunar and Gregorian calendars
  • puzzles involving envelopes with different amounts of money in them (or maybe empty!)
  • game theory analysis of how much to put in your envelopes for relatives, including whether to mark your (giver's) name on the envelope.
If you come up with anything you enjoyed, add it to the comments and we'll have something good for next year!

Wednesday, February 18, 2015

5 minute sharing

Who: J1
When: after dinner and before brushing teeth
Where: bedroom

I've talked before about Peter Liljedahl's Numeracy Tasks as explorations in fair sharing. Tonight, J1 and I briefly discussed the cookie question and the cupcake conundrum.

Sharing Cookies

Six cookies, 3 friends (J1, Ji-Ping and Tanya), sharing is easy peasy, right? Well, one mom insists that her child (Ji-Ping) can eat only one cookie, so what do you do?

J1 responding quick: Ji-Ping gets one, Tanya and I each get 2 and a half
J0: Is that fair?
J1: Its fair because he gets to eat as much as he is allowed and then Tanya and I get the same amount.
J0: How will Ji feel if you get so much more?
J1: Well, his mother probably only wants him to eat one because he is going to get more treats at home, like birthday cake, so that's fair. (By chance, today is Ji's sister's birthday!)
J0: Are there any other ways to split?
J1: We could all have one today and save the others for tomorrow. We could ask Ji-Ping's mom to let him have more.
J0: Maybe you could share with other friends?
J1: yeah, and then in the future, they might share with us. At first, I thought you were going to say that the snack was yo-yo bear <laughs>
J0: What if it was yo-yo-bear, how would that change the situation? Each pack has two strands, but what if Ji-Ping was only allowed to eat one?
J1: <thinking> I guess it wouldn't change it.
J0: So, what about your first idea with the cookies?
J1: Oh, Ji-Ping would get one loop and the treasure card, Tanya and I would each get a treasure card and 2 and a half loops.
J0: how does that feel compared to the cookie split?
J1: it seems pretty fair

Sharing cupcakes

Again, we've got three friends and six treats, but this time 4 cupcakes have delicious chocolate frosting and two do not. This time, J1 had a clear sense that the right answer was to cut in equal portions.

J1: well, we each get 2/3rds of a cupcake with no frosting.  And we get two with frosting. Wait, how many had frosting?
J0: 4
J1: I thought it was 6 <laughing>. Hmm, then we get .... 1.5.....no......1 and 1/3rd with frosting.
J0: any other ideas about how to split them/
J1: Well, this is fair, we all get the same treats and we don't have any left over so that's got to be best.

A bedtime math confession

Recently, we've been talking about the "fun nightly math" activities on Bedtime Math. Both J1 and J2 enjoy the scenarios and they have fun calculating to answer the questions. Frankly, I'm not in love with the questions as they usually seem a bit artificial to the story and are often just a single arithmetic calculation. However, it is a very handy resource to easily add a couple minutes of number thinking to the end of a day.

Tonight, the 1000-year Rose led to some good diagrams and a fun discussion about very long times (hundreds of years). J1 made a number line to answer the "sky's the limit" question and a labelled array to answer the big kids bonus question.

Hardly a thrilling photo, but some evidence I'm not making all of this up


So, I hereby officially give you permission, nay encouragement, to open bedtimemath.org the next evening when you don't have time or energy to have a more extensive TMWYK conversation.