If there's a 3x3x3 cubical matrix of marshmallows and each marshmallow is connected by a toothpick only to those adjacent to it (including all diagonal adjacencies, and only once each). How many toothpicks are there in total?
There are 27 marshmallows so each "layer" connecting the marshmallows should have 12 toothpicks (12*3 layers)=36. Then the toothpicks connecting those layers (9*2)=18. Then there are (I think) 88 diagonal adjacencies that I counted in my head so in total 142 toothpicks. Did I do everything right? Maybe there is a really easy way to get this without doing so much math in my head lol.
Update: I think the answer is actually 158. I was missing some diagonals.
I am trying to come up with a formula for this now. So far I have (faces * 2) + # of edges + (???) = toothpicks
The ??? is 8*4=32, which are all the space diagonals in each little 2x2x2 marshmallow matrix. There are 8 of them in the 3x3x3 matrix and each one has 4 toothpicks
There are 27 marshmallows so each "layer" connecting the marshmallows should have 12 toothpicks (12*3 layers)=36. Then the toothpicks connecting those layers (9*2)=18. Then there are (I think) 88 diagonal adjacencies that I counted in my head so in total 142 toothpicks. Did I do everything right? Maybe there is a really easy way to get this without doing so much math in my head lol.
Update: I think the answer is actually 158. I was missing some diagonals.
I am trying to come up with a formula for this now. So far I have (faces * 2) + # of edges + (???) = toothpicks
The ??? is 8*4=32, which are all the space diagonals in each little 2x2x2 marshmallow matrix. There are 8 of them in the 3x3x3 matrix and each one has 4 toothpicks