Packing spheres is a classic geometry problem that has practical relevance as well as mathematical significance. In this essay, we will start by looking at a few interesting mathematical properties of this activity. To do this, we will start with 2-dimensional models and then extend the concepts to 3-dimensional models.
Then, we will look at a simple, yet intriguing puzzle based on the concepts we will have covered by then. I hope you are game. Let’s go!
Figurate Numbers — The Starting Point to Packing Spheres
Let us start with the 2-dimensional version of packing spheres — stacking circles. There are several ways of stacking circles on top of each other. Two of these are of interest to us in the context of this essay.
First, you could stack circles in such manner that they form a triangular structure. For example, you could start with 5 circles at the base, add four on top of this layer, then three on top of that, and so on to arrive at the structure that you see below.
Illustration created by the author
As you can see, if you count the total number of circles in this structure, it adds up to 15. Any number (starting from 1) of such circles that enables a triangular structure is known as a triangular number. It is fairly straightforward to see that we triangular numbers are nothing but the sum of n integers where n >= 1.
Another way of stacking circles is to form a square structure. You get no prize for figuring out that square numbers are, well, squares. Below, you can see an example of square with 5 circles per side, summing up to 25 circles in total.
Illustration created by the author
Here, you can see that square numbers are created by adding consecutive odd numbers. Triangular numbers and square numbers belong to a bigger pot of numbers called figurate numbers. That’s interesting, but what more can we get out of these structures?
An Interesting Property of Triangular Numbers and Square Numbers
One property that is not so apparent is the fact that the square numbers and triangular numbers are related. In my essay on how to make working with squares fun in math, I covered the fact that any odd number is the difference between consecutive squares. Closely related to that fact is the property that every square number is the sum of consecutive triangular numbers.
Here is a graphical illustration of this property:
Illustration created by the author
Now that we have covered the 2-dimensional world of stacking circles, let us move on to the 3-dimensional world of packing spheres.
The 3-Dimensional World of Packing Spheres
When we extend the concept of a triangular number stack to 3-dimensions, we arrive at a 3-d pyramid that has an equilateral triangle as its base and spheres in place of circles. Such a pyramidal structure is known as a tetrahedron.
Consequently, the numbers that enable us to form such tetrahedrons are known as tetrahedral numbers. We arrive at these numbers by using the following formula:
(1/6)*n*(n+1)*(n+2)
Similarly, imagine a four-sided pyramid with a square base and equilateral triangles as sides. Such a square tetrahedral pyramid is the sphere-analogue of a square pack of circles. We arrive at numbers (of spheres) that enable us to construct square tetrahedral pyramids using the following formula:
(1/6)*n*(n+1)*(2n+1)
Now that we are ready to pack spheres in 3-dimensions, let us jump into the puzzle.
The Packing Spheres Puzzle — Revealed
Say that a child is packing spherical marbles in the form of a tetrahedral pyramid with an equilateral triangle as the base. First, the child constructs two such pyramids. Next, the child combines the marbles from the two pyramids to form a bigger tetrahedral pyramid that also has an equilateral triangle as its base.
What is the minimum number of spherical marbles that enable the child to accomplish such a packing sequence?
Try to solve this puzzle for two cases:
1. Both the smaller tetrahedral pyramids are of the same size.
2. The smaller tetrahedral pyramids are of different sizes.
Spoiler Alert:
If you wish to solve this puzzle on your own, I suggest that you tune off of this essay for now. After your attempt, you may continue reading this essay from this point. Beyond this section, I will be explicitly discussing the solutions to the puzzle.
The Solutions to the Packing Spheres Puzzle
The first thing to note is that you could take advantage of the formula for a tetrahedral pyramid with an equilateral triangle base. Just as a reminder, the formula is as follows:
(1/6)*n*(n+1)*(n+2)
Now, if you plug in values for n from 1 upwards, you will get the following sequence:
1, 4, 10, 20, 35, 56, …
In order to solve the puzzle for the case when both smaller pyramids are identical, we just have to ask the following question:
Which smallest number in the sequence from above results in another number in the sequence when it is added to itself?
The answer is pretty straightforward: you can add 10 to itself to get to 20. So, for identical pyramids, the child will need at least 20 marbles.
For the case when the smaller pyramids are of different sizes, the solution is not so straightforward. I wanted to solve the puzzle as fast as possible. So, I did not end up coming up with a clean mathematical solution. Instead, I just came up with an algorithmic solution.
The algorithm answers the following question:
Which is the smallest number in the sequence that is the sum of any two previous non-identical numbers in the sequence?
The execution of such an algorithm would involve trial and error or a loop to arrive at the solution. For non-identical pyramids, the child would need at least 680 marbles, from which the smaller pyramids would use 560 and 120 marbles respectively.
I hope you had fun solving this puzzle. If you came up with better or more intriguing approaches to solve it, do us all a favour and share them in the comments!
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-advertisement
1 year
Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
CookieLawInfoConsent
1 year
Records the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Cookie
Duration
Description
_gat
1 minute
This cookie is installed by Google Universal Analytics to restrain request rate and thus limit the collection of data on high traffic sites.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Cookie
Duration
Description
__gads
1 year 24 days
The __gads cookie, set by Google, is stored under DoubleClick domain and tracks the number of times users see an advert, measures the success of the campaign and calculates its revenue. This cookie can only be read from the domain they are set on and will not track any data while browsing through other sites.
_ga
2 years
The _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
_ga_R5WSNS3HKS
2 years
This cookie is installed by Google Analytics.
_gat_gtag_UA_131795354_1
1 minute
Set by Google to distinguish users.
_gid
1 day
Installed by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
CONSENT
2 years
YouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Cookie
Duration
Description
IDE
1 year 24 days
Google DoubleClick IDE cookies are used to store information about how the user uses the website to present them with relevant ads and according to the user profile.
test_cookie
15 minutes
The test_cookie is set by doubleclick.net and is used to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE
5 months 27 days
A cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
YSC
session
YSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
yt-remote-connected-devices
never
YouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt-remote-device-id
never
YouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
Comments