The aim of this task is to investigate geometric shapes, which lead to special numbers. The simplest example of these are square numbers, such as 1, 4, 9, 16, which can be represented by squares of side 1, 2, 3, and 4. Triangular numbers are defined as “the number of dots in an equilateral triangle uniformly filled with dots”. The sequence of triangular numbers are derived from all natural numbers and zero, if the following number is always added to the previous as shown below, a triangular number will always be the outcome: 1 = 1 2 + 1 = 3 3 + (2 + 1) = 6 4 + (1 + 2 + 3) = 10 5 + (1 + 2 + 3 + 4) = 15

Moreover, triangular numbers can be seen in other mathematical theories, such as Pascal’s triangle, as shown in the diagram below. The triangular numbers are found in the third diagonal, as highlighted in red. The first diagrams to be considered show a triangular pattern of evenly spaced dots, and the number of dots within each diagram represents a triangular number. Thereafter, the sequence was to be developed into the next three terms as shown below. The information from the diagrams above is represented in the table below. Term Number (n)| 1| 2| 3| 4| 5| 6| 7| 8| Triangular Number (Tn)| 1| 3| 6| 10| 15| 21| 28| 36|

Establishing the following three terms in the sequence was done by simply drawing another horizontal row of dots to the previous equilateral and adding those dots to the previous count. However, following the method described earlier can also do this calculation, as shown in the illustration below. T11 = 1 T22 + 1 = 3 T33 + (2 + 1) = 6 T44 + (1 + 2 + 3) = 10 T55 + (1 + 2 + 3 + 4) = 15 T66 + (1 + 2 + 3 + 4 + 5) = 21 T77 + (1 + 2 + 3 + 4 + 5 + 6) = 28 T88 + (1 + 2 + 3 + 4 + 5 + 6 + 7) = 36 As seen in the diagram above, the second difference is the same between the terms, and the sequence is therefore quadratic.

This means that the equation Tn = an2 + bn + c will be used when representing the data in a general formula. Since some of the values of Tn have already been established this makes it possible to work out the general formula. The first step is to substitute the established values into the three quadratic equations, as shown below: When n = 1, Tn = 1 1 = a(1)2 + b(1) + c 1 = 1a + 1b + c 1 = a + b + c When n = 2, Tn = 3 3 = a(2)2 + b(2) + c 3 = 4a + 2b + c When n = 3, Tn = 6 6 = a(3)2 + b(3) + c 6 = 9a + 3b + c Thereafter polysmlt on the graphic display calculator is used in order to retrieve the values of a, b, and c.

The coefficients above are simply plugged into the calculator; this can be seen in the screenshots below Hence the general formula is Tn = . 5n2 + . 5n, which can also be stated as Tn = To be certain that the general formula in in fact correct, it can also be worked out as shown below. The second difference of the sequence is divided by 2, since this is the value of a, thereafter the sequence is extended to T0, as the number highlighted in red is c. To figure out the value of b, the values have been substituted into the quadratic formula as shown below, after which the equation has been solved using simple algebra.

Tn = an2 + bn + c Tn = ? n2 + bn + 0 T1 = (? )(1)2 + b(1) 1 = ? + b b = ? ? Tn = As seen above, this method works out the same general formula, and this is tested below to assess the validity. Tn = T3 = (32/2) + (3/2)T3 = (9/2) + (3/2)T3 = 12/2T3 = 6| Tn = T5 = (52/2) + (5/2)T5 = (25/2) + (5/2)T5 = 30/2T5 = 15| Tn = T12 = (122/2) + (12/2)T12 = (144/2) + (12/2)T12 = 156/2T12 = 78| As seen above the general formula is indeed correct; however, this can also be determined by the method continued from page 2… T99 + (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8) = 45 T1010 + (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9) = 55

T1111 + (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10) = 66 T1212 + (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11) = 78 This furthermore proves the validity of the formula, as the 12th term is unknown, and not used in order to determine the general formula. This means that the general formula does not just work for a limited number of values for n. After establishing the general formula for the triangular numbers, stellar (star) shapes with p vertices leading to p-stellar numbers were to be considered. The diagrams below represent shapes with 6 vertices, and the pattern involved.

After studying the relationship between these 4 diagrams, the next two terms in the sequence were added accordingly. The 6-stellar number at each stage represents the number of dots in each of the diagram. This information is represented in the table on the next page. Instead of counting the dots in diagrams 12 and 13, I considered the pattern seen in the first four terms. Since the second difference (illustrated in diagram 14) is 12, 12 was added to 36, which would then be the first difference 48, 48 is then added to 73 as this will be the 5th term in the sequence. The same was then done with term 6. Term Number (n)| 1| 2| 3| 4| 5| 6|

Stellar Number (Sn)| 1| 13| 37| 73| 121| 181| As seen in the diagram above, the second difference is the same between the terms, and the sequence is therefore quadratic. This means that the equation Sn = an2 + bn + c will be used when representing the data in a general formula. Since some of the values of Sn have already been established this makes it possible to work out the general formula. The first step is to substitute the established values into the three quadratic equations, as shown below: Sn = an2 + bn + c Therefore: quadratic When n = 1, Sn = 1 1 = a(1)2 + b(1) + c 1 = 1a + 1b + c 1 = a + b + c When n = 2, Sn = 13 3 = a(2)2 + b(2) + c 13 = 4a + 2b + c When n = 3, Sn = 6 37 = a(3)2 + b(3) + c 37 = 9a + 3b + c Thereafter polysmlt on the graphic display calculator is used in order to retrieve the values of a, b, and c. The coefficients above are simply plugged into the calculator; this can be seen in the screenshots below Hence the general formula for the sequence is Sn = 6n2 – 6n + 1, to be certain that this is in fact correct, it can also be worked out as shown below. The second difference of the sequence is divided by 2, since this is the value of a, thereafter the sequence is extended to T0, as the number highlighted in red is c.

To figure out the value of b, the values have been substituted into the quadratic formula as shown below, where after the equation has been solved using simple algebra. Sn = an2 + bn + c Sn = 6n2 + bn + 1 S1 = (6)(1)2 + b(1) + 1 1 = 6 + b + 1 b = – 6 ? Sn = 6n2 – 6n + 1 As seen above, this method works out the same general formula, and this is tested below to assess the validity. Sn = 6n2 – 6n + 1S3 = 6(3)2 – 6(3) + 1S3 = 6(9) – 18 + 1S3 = 54 – 17S3 = 37| Sn = 6n2 – 6n + 1S5 = 6(5)2 – 6(5) + 1S5 = 6(25) – 30 + 1S5 = 150 – 29S5 = 121|

The results derived from the general formula are the same as worked out earlier when not applying any formula at all; hence, it is correct and can be applied to terms 3 and 5 and also other values of n. The previous example was then repeated using other values of p; hence, the number of vertices is being changed from 6 to 5. The 5-stellar number at each stage represents the number of dots in each of the diagrams below. The information in the diagrams above was collected and is represented in the table below. Term Number (n)| 1| 2| 3| 4| 5| 6| Stellar Number (Vn)| 1| 11| 31| 61| 101| 151|

This information is considered and the pattern in the sequence is represented below, and a quadratic pattern throughout the investigation has become very obvious. As seen in the diagram above, the second difference is the same between the terms, and the sequence is therefore quadratic. This means that the equation Vn = an2 + bn + c will be used when representing the data in a general formula. Since some of the values of Vn have already been established this makes it possible to work out the general formula. The first step is to substitute the established values into the three quadratic equations, as shown below: Rn = an2 + bn + c

Therefore: quadratic When n = 1, Vn = 1 1 = a(1)2 + b(1) + c 1 = 1a + 1b + c 1 = a + b + c When n = 2, Vn = 13 11 = a(2)2 + b(2) + c 11 = 4a + 2b + c When n = 3, Vn = 6 31 = a(3)2 + b(3) + c 31 = 9a + 3b + c As seen above, this method works out the same general formula, and this is tested below to assess the validity. Thereafter polysmlt on the graphic display calculator is used in order to retrieve the values of a, b, and c. The coefficients above are simply plugged into the calculator; this can be seen in the screenshots below Hence, the general formula for this sequence is Rn = 5n2 – 5n + 11 Vn = an2 + bn + c Vn = 6n2 + bn + 1

V1 = (5)(1)2 + b(1) + 1 1 = 5 + b + 1 b = – 5 ? Sn = 5n2 – 5n + 1 Vn = 5n2 – 5n + 1V3 = 5(3)2 – 5(3) + 1V3 = 5(9) – 15 + 1V3 = 45 – 14V3 = 31| Vn = 5n2 – 5n + 1V5 = 5(5)2 – 5(5) + 1V5 = 5(25) – 25 + 1V5 = 125 – 24V5 = 101| The results derived from the general formula are the same as worked out earlier when not applying any formula at all; hence, it is correct and can be applied to terms 3 and 5. This was repeated using yet again another value for p, this time changing the p value from 5 to 4, resulting in the diagrams below. The information from the diagrams above was collected and is represented in the table below.

Term Number (n)| 1| 2| 3| 4| 5| 6| Stellar Number (Rn)| 1| 9| 25| 49| 81| 121| As seen in the diagram above, the second difference is the same between the terms, and the sequence is therefore yet again quadratic. This means that the equation Rn = an2 + bn + c will be used when representing the data in a general formula. Since some of the values of Rn have already been established this makes it possible to work out the general formula. The first step is to substitute the established values into the three quadratic equations, as shown below: Rn = an2 + bn + c Therefore: quadratic When n = 1, Rn = 1 = a(1)2 + b(1) + c 1 = 1a + 1b + c 1 = a + b + c When n = 2, Rn = 13 9 = a(2)2 + b(2) + c 9 = 4a + 2b + c When n = 3, Rn = 6 25 = a(3)2 + b(3) + c 25 = 9a + 3b + c As seen above, this method works out the same general formula, and this is tested below to assess the validity. Thereafter polysmlt on the graphic display calculator is used in order to retrieve the values of a, b, and c. The coefficients above are simply plugged into the calculator; this can be seen in the screenshots below This resulted in the general formula Rn = 4n2 – 4n + 1 Rn = an2 + bn + c Rn = 4n2 + bn + 1 R1 = (4)(1)2 + b(1) + 1 = 4 + b + 1 b = – 4 ? Rn = 4n2 – 4n + 1 Vn = 4n2 – 4n + 1V3 = 4(3)2 – 4(3) + 1V3 = 4(9) – 12 + 1V3 = 36 – 11V3 = 25| Vn = 4n2 – 4n + 1V5 = 4(5)2 – 4(5) + 1V5 = 4(25) – 20 + 1V5 = 100 – 19V5 = 81| The results derived from the general formula are the same as worked out earlier when not applying any formula at all; hence, it is correct and can be applied to terms 3 and 5. This was repeated using yet again another value for p, this time changing the p value from 4 to 3, resulting in the diagrams below. The information from the diagrams above was collected and is represented in the table below.

Term Number (n)| 1| 2| 3| 4| 5| 6| Stellar Number (Un)| 1| 7| 19| 37| 61| 91| As seen in the diagram above, the second difference is the same between the terms, and the sequence is therefore yet again quadratic. This means that the equation Un = an2 + bn + c will be used when representing the data in a general formula. Since some of the values of Un have already been established this makes it possible to work out the general formula. The first step is to substitute the established values into the three quadratic equations, as shown below: Un = an2 + bn + c Therefore: quadratic When n = 1, Un = 1 = a(1)2 + b(1) + c 1 = 1a + 1b + c 1 = a + b + c When n = 2, Un = 13 7 = a(2)2 + b(2) + c 7 = 4a + 2b + c When n = 3, Un = 6 19 = a(3)2 + b(3) + c 19 = 9a + 3b + c As seen above, this method works out the same general formula, and this is tested below to assess the validity. Thereafter polysmlt on the graphic display calculator is used in order to retrieve the values of a, b, and c. The coefficients above are simply plugged into the calculator; this can be seen in the screenshots below Thus the general formula for this quadratic sequence Un = 3n2 – 3n + 1 Sn = an2 + bn + c Sn = 3n2 + bn + 1

S1 = (3)(1)2 + b(1) + 1 1 = 3 + b + 1 b = – 3 ? Sn = 3n2 – 3n + 1 Un = 3n2 – 3n + 1U3 = 3(3)2 – 3(3) + 1U3 = 3(9) – 9 + 1U3 = 27 – 8U3 = 19| Un = 3n2 – 3n + 1U5 = 3(5)2 – 3(5) + 1U5 = 3(25) – 15 + 1U5 = 75 – 14U5 = 61| The results derived from the general formula are the same as worked out earlier when not applying any formula at all; hence, it is correct and can be applied to terms 3 and 5. As mentioned earlier, a pattern can be detected when working with stellar numbers. It has become clear that in the quadratic equation Tn = an2 + bn + c, a and b are the same coefficients; however, a is positive and b is egative. Furthermore the value of the coefficient is in both cases simply the p-value, for example when p=3 Sn = 3n2 – 3n + 1, and when p=5 Sn = 5n2 – 5n + 1. (I will now use Sn to define all the terms, as I am trying to produce the general statement that generates the sequence p-stellar numbers for any values of p at stage Sn. ) It can thereby be claimed that when p=7 Sn = 7n2 – 7n + 1, even though this has not been tested and drawn, but this seems to be a logical formula when studying previous results and applying mathematical reasoning.

Therefore, it can be claimed that p replace a and b; hence, the general statement that generates the sequence p-stellar numbers for any values of p at stage Sn is Sn = pn2 – pn + 1. The relationship between p and n can further be studied and tested in excel as seen below. As seen on the left, the values in the table on the top correspond to the excel document on the bottom. I plugged in the general formula discussed above on the far right hand side, and the outcomes were as displayed on the left.

Using other values of p and n, which would allow for a more detailed observation, extended this study, which can be seen below. To ensure that the formula in excel did indeed calculate the correct values, I set up the previous results up to compare, and they did correspond. This investigation has considered geometric shapes in order to determine how many dots are in the different types of shapes, in this case from triangular to stellar, furthermore extending the investigatory work by changing the stellar number (the value of p).

The limitations of this investigation is that the value of n must always be equal to or greater than 1, as it is impossible to have a negative triangle or stellar shape, as it is a physical entity, and it is therefore also impossible to achieve a negative value. In this instance, the values have to be whole numbers as all the dots are whole numbers, and by adding whole numbers together it is impossible to achieve the result of a decimal or a fraction that cannot be simplified. Additionally, all the values of n have not been tested, which means that we cannot be certain that it works for all the infinite values.