<<

Journal of Applied and Physics, 2021, 9, 2038-2113 https://www.scirp.org/journal/jamp ISSN Online: 2327-4379 ISSN Print: 2327-4352

Pythagoreans Figurative : The Beginning of Theory and of

Ravi P. Agarwal

Department of Mathematics, Texas A & M University-Kingsville, Kingsville, Texas, USA

How to cite this paper: Agarwal, R.P. Abstract (2021) Pythagoreans Figurative Numbers: The Beginning of and In this article we shall examine several different types of figurative numbers Summation of Series. Journal of Applied which have been studied extensively over the period of 2500 years, and cur- Mathematics and Physics, 9, 2038-2113. rently scattered on hundreds of websites. We shall discuss their computation https://doi.org/10.4236/jamp.2021.98132 through simple recurrence relations, patterns and properties, and mutual re- Received: July 13, 2021 lationships which have led to curious results in the field of elementary num- Accepted: August 28, 2021 ber theory. Further, for each type of figurative numbers we shall show that Published: August 31, 2021 the addition of first finite numbers and infinite addition of their inverses of-

Copyright © 2021 by author(s) and ten require new/strange techniques. We sincerely hope that besides experts, Scientific Research Publishing Inc. students and teachers of mathematics will also be benefited with this article. This work is licensed under the Creative Commons Attribution International Keywords License (CC BY 4.0). http://creativecommons.org/licenses/by/4.0/ Figurative Numbers, Patterns and Properties, Relations, Sums of Finite and Open Access Infinite Series, History

1. Introduction

Pythagoras of Samos (around 582-481 BC, Greece) and his several followers, es- pecially, Hypsicles of Alexandria (around 190-120 BC, Greece), Plutarch of Chaeronea (around 46-120, Greece), Nicomachus of Gerasa (around 60-120, Jordan-Israel), and Theon of Smyrna (70-135, Greece) portrayed natural num- bers in orderly geometrical configuration of points/dots/pebbles and labeled them as figurative numbers. From these arrangements, they deduced some asto- nishing number-theoretic results. This was indeed the beginning of the number theory, and an attempt to relate geometry with . Nicomachus in his book, see [1], originally written about 100 A.D., collected earlier works of Py- thagoreans on natural numbers, and presented cubic figurative numbers (solid

DOI: 10.4236/jamp.2021.98132 Aug. 31, 2021 2038 Journal of Applied Mathematics and Physics

R. P. Agarwal

numbers). Thus, figurate numbers had been studied by the ancient Greeks for polygonal numbers, pyramidal numbers, and cubes. The connection between regular geometric figures and the corresponding of figurative num- bers was profoundly significant in Plato’s science, after Plato of Athens (around 427-347 BC, Greece), for example in his work Timaeus. The study of figurative numbers was further advanced by Diophantus of Alexandria (about 250, Greece). His main interest was in figurate numbers based on the Platonic solids (tetrahe- dron, , octahedron, dodecahedron, and icosahedron), which he documented in De solidorum elementis. However, this treatise was lost, and rediscovered on- ly in 1860. Dicuilus (flourished 825, Ireland) wrote Astronomical Treatise in Latin about 814-816, which contains a chapter on triangular and num- bers, see Ross and Knott [2]. After Diophantus’s work, several prominent ma- thematicians took interest in figurative numbers. The long list includes: Leonar- do of Pisa/ (around 1170-1250, Italy), Michael Stifel (1486-1567, Ger- many), Gerolamo Cardano (1501-1576, Italy), Johann Faulhaber (1580-1635, German), Claude Gaspard Bachet de Meziriac (1581-1638, France), René Des- cartes (1596-1650, France), (1601-1665, France), John Pell (1611-1685, England). In 1665, Blaise Pascal (1623-1662, France) wrote the Traité du triangle arithmétique, avec quelques autres petits traitez sur la mesme matiére which contains some details of figurate numbers. Work of (1707-1783, Switzerland) and Joseph Louis Lagrange (1736-1813, France) on figurate numbers opened new avenues in number theory. Octahedral num- bers were extensively examined by Friedrich Wilhelm Marpurg (1718-1795, German) in 1774, and Georg Simon Klügel (1739-1812, Germany) in 1808. The Pythagoreans could not have anticipated that figurative numbers would engage after 2000 years leading scholars such as Adrien-Marie Legendre (1752-1833, France), Karl Friedrich Gauss (1777-1855, Germany), Augustin-Louis Cauchy (1789-1857, France), Carl Guslov Jacob Jacobi (1804-1851, Germany), and Wac- law Franciszek Sierpiński (1882-1969, Poland). In 2011, Michel Marie Deza (1939-2016, Russia-France) and Elena Deza (Russia) in their book [3] had given an extensive information about figurative numbers. In this article we shall systematically discuss most popular polygonal, centered polygonal, three dimensional numbers (including pyramidal numbers), and four dimensional figurative numbers. We shall begin with triangular numbers and end this article with pentatope numbers. For each type of polygonal figurative numbers, we shall provide definition in terms of a , possible sketch, ex- plicit formula, possible relations within the class of numbers through simple re- currence relations, properties of these numbers, , sum of first finite numbers, sum of all their inverses, and relations with other types of poly- gonal figurative numbers. For each other type of figurative numbers mainly we shall furnish definition in terms of a sequence, possible sketch, explicit formula, generating function, sum of first finite numbers, and sum of all their inverses. The study of figurative numbers is interesting in its own sack, and often these numbers occur in real world situations. We sincerely hope after reading this ar-

DOI: 10.4236/jamp.2021.98132 2039 Journal of Applied Mathematics and Physics

R. P. Agarwal

ticle it will be possible to find new representations, patterns, relations with other types of popular numbers which are not discussed here, extensions, and real ap- plications.

2. Triangular Numbers

In this arrangement rows contain 1,2,3,4, ,n dots (see Figure 1). From Figure 1 it follows that each new is obtained from the previous triangular number by adding another row containing one more dot

than the previous row added, and hence tn is the sum of the first n positive in- tegers, i.e.,

ttntnnnn=−−12 += n +( −+=1)  =+++ 123 +(nn −+ 1) , (1)

i.e., the differences between successive triangular numbers produce the sequence of natural numbers. To find the sum in (1) we shall discuss two methods which are innovative. Method 1. Since t=+++123 +(nn − 1) + n tn =+−+−+++ nn( 1) ( n 2)  21

An addition of these two arrangements immediately gives

2tn =( n ++ 11) ( n ++)  +( n += 1) nn( + 1)

and hence

n nn( +1) 112 tn =∑ k = = nn + . (2) k =1 2 22

Thus, it immediately follows that t1 = 1 , t2 =+=12 3, t3 =++=123 6,

t4 =+++123410 = , t5 = 15 , t6 = 21 , t7 = 28 ,  . This method was first employed by Gauss. The story is his elementary school teacher asked the class to add up the numbers from 1 to 100, expecting to keep them busy for a long time. Young Gauss found the Formula (2) instantly and wrote down the correct an- swer 5050. Method 2. From Figure 2 Proof without words of (2) is immediate, see Alsina and Nelsen [4]. However, a needless explanation is a “stairstep” configuration made up of one block plus two blocks plus three blocks, etc, replicated it as the shaded section in Figure 2, and fit them together to form an nn×+( 1) rectan- gular array. Because the rectangle is made of two identical stairsteps (each

Figure 1. Triangular numbers.

DOI: 10.4236/jamp.2021.98132 2040 Journal of Applied Mathematics and Physics

R. P. Agarwal

Figure 2. Proof of (2) without words.

representing tn ) and the rectangle’s is the product of base and height, that is, nn( +1) , then the stairstep’s area must be half of the rectangle’s, and hence (2) holds. To prove (2) the Principle of is routinely used. The relation (1) is a special case of an of the finite sequence

{akk }, =0,1, , n − 1 where ak = a + kd , or ak = a +( k −) dk, ≥≥0 , i.e., n−1 S=∑( akda +) =++++( ad) ( a2 d) +++− ( a( n1.) d) (3) k =0

For this, following the Method 1, it immediately follows that nn S=21 an +−( ) d =[ aa01 +n− ] . (4) 22

Thus, the mean value of the series is S= Sn =( a01 + an− ) 2 , which is similar as in discrete uniform distribution. For ad= = 1, (3) reduces to (1), and (4) becomes same as (2). From (4), it is also clear that n−1 nm −− 11 ∑(a+= kd) ∑∑( a +− kd) ( a + kd ) km= k=00k= nm =21an +−( ) d  − 2 am +( − 1) d  (5) 22 nm− =2a +( nm +− 1.) d 2 Ancient Indian Sulbas (see Agarwal and Sen [5]) contain several examples of arithmetic progression. Aryabhata (born 2765 BC) besides giving the Formula (4) also obtained n in terms of S, namely,

+−−2 1 82Sd( a d) 2 a n = +1 (6) 2 d 

He also provided elegant results for the summation of series of and cubes. In Rhind Papyruses (about 1850 and 1650 BC) out of 87 problems two problems deal with arithmetical progressions and seem to indicate that Egyptian scriber Ahmes (around 1680-1620 BC) knew how to sum such series. For exam- ple, Problem 40 concerns an arithmetic progression of five terms. It states: divide

DOI: 10.4236/jamp.2021.98132 2041 Journal of Applied Mathematics and Physics

R. P. Agarwal

100 loaves among 5 men so that the sum of the three largest shares is 7 times the sum of the two smallest ( xxdxdxdxd++++( ) ( 2) ++( 3) ++( 4) = 100 , 7xxd++( ) =+( xd 234) ++( xd) ++( xd) , x = 10 6 , d = 55 6 ). There is a discussion of arithmetical progression in the works of of Syracuse (287-212 BC, Greece), Hypsicles, Brahmagupta (born 30 BC, India), Diophantus, Zhang Qiujian (around 430-490, China), Bhaskara II or Bhaskaracharya (working 486, India), Alcuin of York (around 735-804, England), Dicuil, Fibonacci, Jo- hannes de Sacrobosco (around 1195-1256, England), Levi ben Gershon (1288-1344, France). Abraham De Moivre (1667-1754. England) predicted the day of his own death. He found that he slept 15 minutes longer each night, and summing the arithmetic progression, calculated that he would die on November 27, 1754, the day that he would sleep all 24 hours. Peter Gustav Lejeune Dirichlet (1805-1859, Germany) showed that there are infinitely many primes in the arithmetic progres- sion an+ b , where a and b are relatively prime. Enrico Bombieri (born 1940, Italy) is known for the distribution of prime numbers in arithmetic progressions. Te- rence Chi-Shen Tao (born 1975, Australia-USA) showed that there exist arbitra- rily long arithmetic progressions of prime numbers. The following equalities between triangular numbers can be proved rather easily. tt22+= t nn−1 n2

3ttnn+=−12 t n

3ttnn+=++1 t 21 n

tn++ t m nm = tnm+

ttn m+ t n−−11 t m t nm

Instead of adding the above finite arithmetic series {ak } , we can multiply its terms which in terms of Gamma function Γ can be written as a Γ+ n−1 n n d a01 a an− 1 = ∏( a += kd) d , (7) k =0 a Γ d provided a/d is nonpositive.

 The triangular number tn solves the handshake problem of counting the number of handshakes if each person in a room with (n +1) people shakes hands once with each person. Similarly a fully connected network of (n +1)

computing devices requires tn connections. The triangular number tn also provides the number of games played by (n +1) teams in a Round-Robin Tournament in which each team plays every other team exactly once and no

ties are allowed. Further, the triangular number tn is the number of ordered pairs ( xy, ) , where 1 ≤≤≤xyn. For an (n +1) sided-polygon, the num-

ber of diagonals is (n+−1)( n 2) 2 =− 2 ttnn+1 , n ≥2 . From Figure 1, it fol- lows that the number of line segments between closest pairs of dots in the

triangles is  nn=3t−1 = 3( nn − 12) , or recursively, nn=−1 +−31(n ) ,

DOI: 10.4236/jamp.2021.98132 2042 Journal of Applied Mathematics and Physics

R. P. Agarwal

1 = 0 . Thus, for example,  4 = 18 . A problem of Christoff Rudolff (1499-1545, Poland) reads: I am owed 3240 florins. The debtor pays me 1 flo- rin the first day, 2 the second day, 3 the third day, and so on. How many days it takes to pay off the debt (80 days). For the Pythagoreans the fourth trian-

gular number t4 = 10 (decade) was most significant of all: it contains in it- self the first four , one, two, three, and four 123410+++ = , it was considered to be a symbol of “perfection”, being the sum of 1 (a point), 2 (a line), 3 (a plane) and 4 (a solid); it is the smallest n for which there are just as many primes between 1 and n as nonprimes, and it gives rise to the tetraktys (see Figure 1 and its alternative form Figure 3). To them, the tetraktys was the sum of the divine influences that hold the universe together, or the sum of all the manifest laws of nature. They recognized tetraktys as fate, the universe, the heaven, and even God. Pythagoras also called the Deity a Tetrad or Tetracyts, meaning the “four sacred letters”. These letters origi- nated from the four sacrad letters JHVH, in which the ancient Jews called God our Father, the name “Jehovah”. The tetraktys was so revered by the members of the brotherhood that they shared the following oath and their most jealously guarded secret, “I swear by him who has transmitted to our minds the holy tetraktys, the roots and source of ever-flowing nature”. For Plato (Plato, meaning broad, is a nickname, his real name was Aristocles, he died at a wedding feast) number ten was the archetypal pattern of the universe. According to Eric Temple Bell (1883-1960, UK-USA), see [6], “Pythagoras asked a merchant if he could count. On the merchants’s replying that he could, Pythagoras told him to go ahead. One, two, three, four ..., he began, when Py- thagoras shouted Stop! What you name four is really what you would call ten. The fourth number is not four, but decade, our tetractys and inviolable oath by which we swear”. Inadvertently, the tetractys occurs in the following: the ar- rangement of bowling pins in ten-pin bowling, the baryon decuplet, an arch- bishop’s coat of arms, the “Christmas Tree” formation in association football, a

Chinese checkers board, and the list continues. The number t5 = 15 gives the number and arrangement of balls in Billiards. The 36th triangular number, i.e., is 666 (The Beast of Revelation-Christians often seems to have difficulties with

numbers). The 666th triangular number, i.e., t666 is 222111. On triangular numbers an interesting article is due to Fearnehough [7].

Figure 3. Alternative form of tetraktys.

DOI: 10.4236/jamp.2021.98132 2043 Journal of Applied Mathematics and Physics

R. P. Agarwal

 No triangular number has as its last digit (unit digit) 2, 4, 7 or 9. For this, let nk≡ (mod10) , then (nk+≡1) ( + 1)( mod10) ; here 09≤≤k . Thus, it fol-

lows that tn =+ nn( 1) 2 ≡+ kk( 1) 2( mod10) . This relation gives only choices for k as 0,1,3,5,6 and 8.

 We shall show that for an integer k > 1 , tn (mod kn) , ≥ 1 repeats every k steps if k is odd, and every 2k steps if k is even, i.e., if  is the smallest posi- tive integer such that for all integers n (n+)( n ++11) nn( +) ≡ ( modk ) , (8) 22 then  = k if k is odd, and  = 2k if k is even. For this, note that (n+)( n ++  11) nn( +) ( + 1) −=+ n , 222 and hence if (8) holds, then ( +1) nk +≡ 0( mod) . 2 For nk= and n = 1 the above equation respectively gives ( ++11) ( ) 0+≡ 0( modkk) and +≡ 0( mod) . 22 Combining these two relations, we find  ≡ 0( mod k )

and hence  = ck for some positive integerc . (9)

Now if k is odd, then in view of (k +12) is an integer, we have kk( +1) nk +≡ 0( modk ) . 2 This implies that k ≥  , because  is the smallest integer for which (8) holds. But, then from (9) it follows that k =  . If k is even, then k +1 is odd, and so kk( +≡1) 2 / 0( mod k) . Thus,  ≠ k , but 21kk( + ) nk(2 ) +≡ 0( mod k) 2 and so 2k satisfies (8). This implies that 2k ≥  , which again from (9) gives  = 2k .

For example, for tnn (mod 3) , ≥ 1 , we have 1,0,0, 1,0,0, 1,0,0, 1,0,0,

and for tnn (mod 4) , ≥ 1 , 1,3,2,2,3,1,0,0, 1,3,2,2,3,1,0,0, .  Triangular numbers and binomial coefficients are related by the relation nn++11 tn = = . 21n −

DOI: 10.4236/jamp.2021.98132 2044 Journal of Applied Mathematics and Physics

R. P. Agarwal

Thus, triangular numbers are associated with Pascal’s triangle 1 1 1 11 2 1 33 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 1 7 21 35 35 21 7 1 1 6 28 56 70 56 28 8 1

For the origin of Pascal triangle see Agarwal and Sen [5].  The only triangular numbers which are the product of three consecutive in- tegers are 6, 120, 210, 990, 185,136, 258, 474, 216, see Guy [8].  A number is called palindromic if it is identical with its reverse, i.e., reading the same forward as well as backward. There are 28 palindromic triangular numbers less than 1010, namely, 1, 3, 6, 55, 66, 171, 595, 666, 3003, 5995, 8778, 15,051, 66,066, 617,716, 828,828, 1,269,621, 1,680,861, 3,544,453, 5,073,705, 5,676,765, 6,295,926, 351,335,153, 61,477,416, 178,727,871, 1,264,114,621, 1,634,004,361, 5,289,009,825, 6,172,882,716. The largest known palindromic triangular numbers containing only odd digits and even digits are

t32850970 = 539593131395935 and t128127032 = 8208268228628028 . It is known, see Trigg [9], that an of palindromic triangular numbers exist in several different bases, for example, three, five, and nine; however, no infi- nite sequence of such numbers has been found in base ten.  Let m be a given , then it is n-th triangular number, i.e.,

mt= n if and only if nm=−+( 1 18 + ) 2. This means if and only if 81m + is a perfect square.  If n is a triangular number, then 9nn++ 1, 25 3 and 49n + 6 are also tri-

angular numbers. This result of 1775 is due to Euler. Indeed, if nt= m , then

91nt+=31m+ , 25nt+= 3 52m+ and 49nt+= 6 73m+ . An extension of Euler’s result is the identity 2 (2k+ 1) tttmk +=(21k++) mk, k = 1, 2,

i.e.,

2 mm( ++11) kk( ) (21k++) mk( 21 k +++) mk 1 (21k +⋅) + = . 22 2  From the identity

xx( ++11) yy( ) 22 4+ +=11( xy + +) +( xy −) 22

it follows that if n is the sum of two triangular numbers, then 41n + is a sum of two squares.  −=−1 ∞ n Differentiating the expansion (1 xx) ∑n=0 twice, we get

DOI: 10.4236/jamp.2021.98132 2045 Journal of Applied Mathematics and Physics

R. P. Agarwal

2 ∞∞ = −=+nn−−21 3 ∑∑nn( 1) x( n 1,)( nx) (10) (1− x) nn=21=

and hence x ∞∞∞(nn++11)( ) ( nn)( ) =+==0 n nn 3 0.x ∑∑∑x x txn (1− x) nnn=10022= =

−3 Hence, xx(1− ) is the generating function of all triangular numbers. In 1995, Sloane and Plouffe [10] have shown that

∞ n 1 2 x x 12++xx e =∑ tn+1 . 2!n=0 n

 To find the sum of the first n triangular numbers, we need an expression for n 2 ∑k =1 k (a general reference for the summation of series is Davis [11]). For this, we begin with Pascal’s identity

3 kk32−−( 1) = 3 kk −+ 3 1, k ≥ 1

and hence

n nn 3 (13− 0 3) +( 2 33 − 1) +( 3 3 − 2 3) ++ (nn 3 −−( 1) ) = 3∑ k2 − 3 ∑∑ k + 1, k=1 kk= 11 =

which in view of (2) gives n 11111111 ∑ k232=++−=++= nnnnnnnnnn32 ( +1)( 2 + 1.) (11) k =1 32233266

Archimedes as proposition 10 in his text On Spirals stated the formula (nn+1) 2 ++++=( 1 2 n) 31( 22 +++ 2 n 2) (12)

from which (11) is immediate. It is believed that he obtained (12) by letting k the successive values 1,2, ,n − 1 in the relation

222 2 n= k +−( nk) = k +2, knk( −+−) ( nk)

and adding the resulting n −1 equations, together with the identity 22nn22= , to arrive at

2 22 2 (nn+1) = 21( +++ 2 n) +2 1( n −+ 1) 2( n −++− 2) ( n 11.) (13)

Next, letting kn= 1, 2, , in the formula

2 kk =+ 21 ++ 2 +(k − 1)

and adding n equations to get

22 2 1+++ 2 n =++++(1 2 nn) 2 1( −+ 1) 2( n −++− 2) ( n 11.) (14)

From (13) and (14), the Formula (12) follows. Another proof of (11) is given by Fibonacci. He begins with the identity kk( +12)( k += 1) ( k − 1) k( 2 k −+ 1) 6 k2 .

and takes kn= 1, 2, 3, , to get the set of equations

DOI: 10.4236/jamp.2021.98132 2046 Journal of Applied Mathematics and Physics

R. P. Agarwal

123⋅⋅=⋅ 612 235⋅⋅ =⋅⋅+⋅ 123 622 347⋅⋅=⋅⋅+⋅ 235 632

 2 (n−1) nn( 2 −= 1) ( n − 2)( n − 12)( n −+ 3) 6( n − 1) nn( +12)( n += 1) ( n − 1) n( 2 n −+ 1) 6. n2

On adding these n equations and cancelling the common terms, (11) follows. Now from (2) and (11), we have

nn n 12 11 ∑∑tk = k + ∑ k = nn( ++ 1)( n 2.) (15) kk=112= 26 k= 1

Relation (15) is due to Aryabhata. For an alternative proof of (15), we note that

nn (n+−1) tn∑∑ t k =( tt nk −) kk=00 = =+++++++++++++(123n) ( 23  n) ( 3  nn) n =+++1222 nk 2 =∑ 2, k =1

and hence in view of (11), we have

nn 2 ∑∑tntkn =+− ( 1) k kk=11= nn( +1) 1 =+ (n 1) −++nn( 12)( n 1) 26 1 = nn( ++ 1)( n 2.) 6

From (15) it follows that

n 1 2 = − − + + +− ∑ tk ( nm) ( nm) 3( n 1)( m 1) 1, km= +1 6

2 which in particular for mn=4, = 7 gives ttt567++=64 = 8 , i.e., three suc- cessive triangular numbers whose sum is a perfect square. Similarly, we have 2 tttt5678+++=10 . n = + From (15), we also have ∑k =1 tkn(13)( nt 2) , which means tn divides n = − = ∑k =1 tk if nm32, m 1, 2,.  The reciprocal of the (n +1) -th triangular number is related to the integral

11 n 21 x−= ydd xy = . ∫∫00 (nn++12)( ) tn+1

 The sum of reciprocals of the first n triangular numbers is nn1 2 n 11  1  ∑∑ = = 2 ∑ −=−  21  , (16) kk=11tk = kk( +1) k= 1 k k ++ 11  n 

and hence

DOI: 10.4236/jamp.2021.98132 2047 Journal of Applied Mathematics and Physics

R. P. Agarwal

∞ 11 = 2 lim 1 −= 2. (17) ∑ n→∞  k =1 tnk +1 Jacob Bernoulli (1654-1705, Switzerland) in 1689 summed numerous conver- gent series, the above is one of the examples. In the literature this procedure is now called telescoping, also see Lesko [12].  Pythagoras theorem states that if a and b are the lengths of the two legs of a right triangle and c is the length of the hypothenuse, then the sum of the of the two squares on the legs equals the area of the square on the hy- potenuse, i.e., abc222+= . (18) A set of three positive integers a, b and c which satisfy (18) is called Pythago- rean triple and written as ordered triple (abc,,) . A Pythagorean triangle (abc,,) is said to be primitive if abc,, have no common other than 1. For the origin, patterns, extensions, astonishing directions, and open problems, of Pythagoras theorem and his triples, see Agarwal [13] [14], and an interesting article of Beauregard and Suryanarayan [15]. There are Pythagorean triples (not necessarily primitive) each side of which is a triangular number, for example,

(ttt132, 143 , 164 ) = ( 8778,10296,13530) . It is not known whether infinitively many such triples exist.  A number is called perfect if and only if it is equal to the sum of its positive

, excluding itself. For example, t3 = 6 is perfect, because

61( ++= 2 3 6) . The numbers 28,496,8128(tt7 , 31 , t 127 ) are also perfect that Pythagoreans discovered. For mystical reasons, such numbers have been given considerable attention in the past. Especially, Pythagoreans praised the number six eulogistically, concluding that the universe is harmonized by it and from it comes wholeness, permanence, as well as perfect health. In fact, Plato asserted that the creation is perfect because the number 6 is perfect. They also realized that like squares, six equilateral triangles (see Figure 4) meeting at a point (add up to 360˚) leave no space in tilling a floor. − Till very recently only 51 even perfect numbers of the form 2pp1 ( 21− ) have been discovered. It is not known whether there are any odd perfect num- bers, and if there exist infinitely many perfect numbers. The following result due

Figure 4. Tilling a floor.

DOI: 10.4236/jamp.2021.98132 2048 Journal of Applied Mathematics and Physics

R. P. Agarwal

to Euclid of Alexandria (around 325-265 BC, Greece) and Euler states that an − even number is perfect if and only if it has the form 2pp1 ( 21− ) , where 21p − is a (known as Pére Marin Mersenne’s, 1588-1648, France, prime 2p−1 212212 p−= pp − =t number). In 1575 it was observed that ( ) ( ) 21p − , i.e., every known is also a triangular number. 2n  Fermat numbers are defined as Fnn =+≥2 1, 0 . First few Fermat’s num- bers are 3, 5, 17, 257, 65537. We shall show that for n > 0 ,

Fn is never a triangular number, i.e., there is no integer m which satisfies n 22 += 1mm( + 12) . This means the discriminant of the equation n mm22+−22( += 1) 0 is not an integer. Suppose to contrary that there ex-

n ists an integer p such that 1+ 82( 2 += 1) p , but then n + 223=p 2 −= 9( pp + 33)( −) , which implies that there exist integers r and s such that p +=32r and p −=32s . Hence, we have 226rs−= for which n + n the only solution is rs=3, = 1 . This means, 223= 22 3 × , or 222 = , which is true only for n = 0 .  We shall find all square triangular numbers, i.e., all positive integers n and the corresponding m so that nn( +=12) m2 . This equation can be written as, so called Pell’s Equation (for its origin, see Agarwal [5]) ba22−=21,

where bn=21 + and am= 2 . We note that if (abkk−−11,) , k≥ 1 is an in- 22 teger solution of ba−=±21, then (abkk, ) defined by the recurrence re- lations

aabbabkkkkkkk =+=+≥ −−11 , 2 −− 11 , 1 (19) satisfy

22 222 2 bakk−=2 (2 ab kk−−11 +) − 2( ab kk −− 11 +) =−− ( b k − 1 2 a k − 1) ,

and hence ba22−=21 . From this observation we conclude that if 22 (abkk−−11,) , k≥ 1 is an integer solution of ba−=21, then so is

(abkk++11,) =++( 32,43 a k − 1 b k − 1 a k − 1 b k − 1) . Since (ab00,) = ( 0,1) is a solution of ba22−=21 (its fundamental solution is (ab,) = ( 2,3) ), it follows that the iter- ative scheme

xxkk=32−−11 + y k (20) yxkk=+==4−−1 3 yx k 10 , 0, y 0 1

gives all solutions of ba22−=21. System (20) can be written as

xk+−1=−==6 xx kk10 , x 0, x 1 2 (21) yk+−1=−==6 yy kk10 , y 1, y 1 3.

Now in (21) using the substitution xk=2 my kk , =2 n k + 1, we get

mk+−1=−==6 mm kk10 , m 0, m 1 1 (22) nk+−1=−+6 nn kk 1 2, n 01 = 0, n = 1

Clearly, (22) generates all (infinite) solutions (mnkk, ) of the equation nn( +=12) m2 . First few of these solutions are

DOI: 10.4236/jamp.2021.98132 2049 Journal of Applied Mathematics and Physics

R. P. Agarwal

(1,1) ,( 6,8) ,( 35,49) ,( 204,288) ,( 1189,1681) ,

(6930,9800) ,( 40391,57121) ,( 235416,332928) .

For k ≥ 1 , explicit solution of the system (22) can be computed (for details see Agarwal [16] [17]) rather easily, and appears as 1 kk mk =(3 + 22) −−( 3 22) 42 (23) 1 kk nk =(3 + 22) +−( 3 22) − 2 4  This result is originally due to Euler which he obtained in 1730. While com-

pare to the explicit solution (23) the computation of (mnkk, ) from the recur- rence relations (22) is very simple, the following interesting relation follows from (23) by direct substitution

22 mmkk−=−−1 m 21 k . (24) Hence the difference between two consecutive square triangular numbers is the of another . Now we note that the system (19) can be written as

an+−1=+==2 aa nn10 , a 0, a 1 1

bn+−1=+==2 bb nn10 , b 1, b 1 1

and its (integer) solution is 1 nn an = (12 +) −−( 12,) 22 (25) 1 nn bn =(12 +) +−( 12.) 2  From this, and simple calculations the following relations follow

2 2 22 mk= ab kk, n2 k = b 2 k −= 1 2( 2 mk) , n21 k++= b 21 k =2 a 21 k + − 1.

2 It is apparent that if (mnkk, ) is a solution of nn( +=12) m, then 2 ((21,21,pmpnp+) kk( +≥) ) 1 is a solution of nn( ++2 p 12) = m. Now, if n is even, we have 22 22nn++24  ttnn++12 t n p=++ ( n 13) (n )  22  2 (26) 2 np+ 2 nn( ++21 p ) (np+−21) , 22

and, when n is odd, 22 nn++1322  ttnn++12 t n p=++(n 24) (n ) 22  2 (27) np+−21 2 nn( ++21 p ) (np+ 2 )  22

and hence the right side is a perfect square for n=(21 pn + ) k . Therefore, the product of (21p + ) consecutive triangular numbers is a perfect square for each

DOI: 10.4236/jamp.2021.98132 2050 Journal of Applied Mathematics and Physics

R. P. Agarwal

p ≥ 1 and k ≥ 1 . In particular, for pk= = 2 , nn=52 = 40 , from (26) we have 22222 2 ttttt40 41 42 43 44 = (41) ( 21) ( 43) ( 22) ( 30) = ( 24435180)

and for pk= =3, n =7 n3 = 343 , from (27), we find

ttttttt343 344 345 346 347 348 349 2222222 = (172) ( 345) ( 173) ( 347) ( 174) ( 349) ( 245) 2 = (52998536784979800) .

Similarly, if n is even, we have 22 22nn++24  2ttnn+1 t n +− 21 p =++( n 13) (n )  22  2 (28) np+−22 2 nn( + 2 p) (np+−21)  , 22

and hence the right side is a perfect square for n= 2 pnk (which is always even). Therefore, two times the product of 2 p consecutive triangular numbers is a perfect square for each p ≥ 1 and k ≥ 1 . In particular, for pk= = 2 ,

nn=42 = 32 , from (28) we have 222 2 2 2tttt32 33 34 35 = (33) ( 17) ( 35) ( 24) = ( 471240)

and for pk= =3, n =6 n3 = 294 , we find 222222 2tttttt294 295 296 297 298 299 = (295) ( 148) ( 297) ( 149) ( 299) ( 210)

2 = (121315678684200) .

From the equality

(41411nn( +))( nn( ++) ) nn( +1) 2 = 4( 21n + ) 22

it follows that if the triangular number tn is square, then t41nn( + ) is also square.

Since t1 is square, it follows that there are infinite number of square triangular numbers. This clever observation was reported in 1662, see Pietenpol et al. [18].

From this, the first four square triangular numbers, we get are ttt1,, 8 288 and

t332928 .  There are infinitely many triangular numbers that are simultaneously expres- sible as the sum of two cubes and the difference of two cubes. For this, Bur- ton [19] begins with the identity 2 33 33 (27k64343) −= 1( 9 kk − 3) +( 9 k − 1) =( 9 kk + 3) −( 9 k + 1)

and observed that if k is odd then this equality can be written as 2 33 3 3 (21n+) −= 12( ab) +( 2) =( 2 cd) −( 2) ,

which is the same as 33 3 3 tn =+=− ab cd. For k = 1,3 and 5 this gives

DOI: 10.4236/jamp.2021.98132 2051 Journal of Applied Mathematics and Physics

R. P. Agarwal

33 33 t13 =+=−34 65 333 3 t9841 =(360) +=−( 121) 369( 122) 33 33 t210937 =(2805) +=( 562) ( 2820) −( 563)

 In 1844, Eugéne Charles Catalan (1814-1894) conjectured that 8 and 9 are the only numbers which differ by 1 and are both exact powers 82= 3 , 93= 2 . This conjecture was proved by Preda Mihăilescu (Born 1955, Romania) after one hundred and fifty-eight years, and published two years later in [20]. Thus the only solution in natural numbers of the ab xy−=1 for ab,1> , xy,0> is x = 3 , a = 2 , y = 2 , b = 3 . Now 23 since nn( +=12) m3 can be written as (21nm+−) ( 2) = 1, the only solu- tion of this equation is 2n += 13, 22m = , i.e., (1,1) is the only cubic tri- angular number.  In 2001, Bennett [21] proved that if a, b and n are positive integers with n ≥ 3 , then the equation axnn−= by 1, possesses at most one solution in positive integers x and y. This result is directly applicable to show that for the equation nn( +=1) 2 mp , p ≥3 the only solution is (1,1) . For this, first we note that integers tt,2+ 1 and tt++1,2 1 are coprime, i.e., they do not have any common factor except 1. We also recall that if the product of co- prime numbers is a p-th power, then both are also of p-the power. Now let n be even, i.e., nt= 2 , then the equation nn( +=12) mp is the same as tt(21+=) mp . Thus, it follows that tx= p and 21ty+= p , and hence yxpp−=21, which has only one solution, namely, xy=0, = 1 which gives t = 0 , and hence n = 0 and so (0,0) is the solution of nn( +=12) mp , but we are not interested in this solution. Now we assume that n is odd, i.e., nt=21 + , then the equation nn( +=12) mp is the same as (ttm+12)( += 1) p . Thus, we must have tx+=1 p and 21ty+= p , which gives yxpp−=−21. The only solution of this equation is xy= = 1 , and hence again t = 0 and so (0,0) is the undesirable solution of nn( +=12) mp .  Startling generating function of all square triangular numbers is recorded by Plouffe [22] as xx(1+ ) =+++ xx 622 35 23 x . (29) (1−xx)( 2 −+ 34 x 1)

3. Square Numbers Sn

In this arrangement rows as well as columns contain 1,2,3,4, ,n dots, (see Figure 5). From Figure 5 it is clear that a square made up of (n +1) dots on a side can be divided into a smaller square of side n and an L, shaped border (a gnomon), which has (n++=1) nn 21 + dots (called (n +1) th gnomonic number and

denoted as gn+1 ), and hence 2 2 Snn+1 −=+ Sn ( 1) −= n( 2 n + 1,) (30)

DOI: 10.4236/jamp.2021.98132 2052 Journal of Applied Mathematics and Physics

R. P. Agarwal

Figure 5. Square numbers.

i.e., the differences between successive nested squares produce the sequence of odd numbers. From (30) it follows that

2 (102− 2) +( 21 22 −) +( 32 2 − 2) ++(nn 2 −−( 1) ) =++++ 135( 21n −)

and hence n 2 ∑(2k−=+++++ 1) 1357 ( 2n −= 1) nS =n . (31) k =1

An alternative proof of (31) is as follows

Sn =++++−+−135 ( 2 nn 3) ( 2 1)

Snn =−+−+−+++(21) ( 23 n) ( 25 n)  31.

An addition of these two arrangements immediately gives

2 2Sn = 2 nn + 2 ++ 2 n = 2. n Figure 6 provides proof of (31) without words. Here odd integers, one block, three blocks, five blocks, and so on, arranged in a special way. We begin with a single block in the lower left corner; three shaded blocks surrounded it to form a 22× square; five unshaded blocks surround these to form a 33× square; with the next seven shaded blocks we have a 44× square; and so on. The diagram makes clear that the sum of consecutive odd integers will always yield a (geome- tric) square. Comparing Figure 1 and Figure 5 or Figure 2 and Figure 6, it is clear that n-th is equal to the n-th triangular number increased by its pre- decessor, i.e., 2 Sn=+= tt nn−1 n. (32) Indeed, we have

tn =+++123 +(nn − 1) +

tn−1 =+++−+−1 2 ( nn 2) ( 1.)

An addition of these two arrangements in view of (31) gives

2 ttnn+−1 =+++135 +( 2n − 1) = n = Sn .

Of course, directly from (1), (2), and (32), we also have

nn( +−11) ( n) n 2 2 tt+=−− + ==−n( tt) = S, nn1122 nn n or simply from (1) and (2),

DOI: 10.4236/jamp.2021.98132 2053 Journal of Applied Mathematics and Physics

R. P. Agarwal

Figure 6. Proof of (31) without words.

2 tnn+ t−−11 =2 t n += nnn( −+= 1.) nn = Sn

From (32), we find the identities 2n ∑tk=( tt2 ++ 1) ( tt 4 + 3) ++ ( t2nn + t 21− ) k =1 2 =2422 +++ ( 2n)

and 21n+ ∑ tk=++++++ t1( tt 3 2) ( tt 5 4)  ( t21nn+ + t 2) k =1 2 =++++1222 3 5 ( 2n + 1.)

It also follows that 22n( n++ 1) nn( 1) t−=22 t − ==nS2 . (33) 2nn 22 n We also have equalities

2 −= += tt9nn++ 4 31 32( n 1) S32( n+ 1) , (34)

nn++11 SSSS1234−+−++− ( 1) Snn =−( 1,) t (35)

and nn 22 ∑∑(t2nn+= k) (4, tk +) (36) kk=01=

which is the same as

n22 n nn 2n22++ nk =2 n + 2 nk + or S = S ∑( ) ∑( ) ∑∑2n22++ nk22 n+ nk + k=0 k= 1 kk=01=

and, in particular, for n = 4 reduces to 36222222222++++=+++ 37 38 39 40 41 42 43 44 . The following equality is of exceptional merit

SSnn+=+1 Snn( ++11) − S nn( + 1) , (37)

which, in particular, for n = 5 gives 522+= 6 31 2 − 30 2.

DOI: 10.4236/jamp.2021.98132 2054 Journal of Applied Mathematics and Physics

R. P. Agarwal

 Relation (30) reveals that every odd integer (21n + ) is the difference of two

consecutive square numbers Sn+1 and Sn . Relation (32) shows that every 2 square integer n is a sum of two consecutive triangular numbers tn and

tn−1 , whereas (33) displays it is the difference of 2n-th and two times n-th triangular numbers.  From the equalities

2222 2 8,tn =+++( nn) ( nn)

2222 2 81tn +=( n − 1) +( nn + 2,)

2222 2 82tn +=( nn +− 1) +( nn ++ 1)

it follows that there are infinite triples of consecutive numbers which can be written as the sum of two squares.  No square number has as its last digit (unit digit) 2, 3, 7 or 8.  From (10) it follows that 2x ∞ ∞∞ d1 =+=+2nn− 12 n 3 ∑nx x ∑∑ nx nx x (1− x) n=0 nn= 10= d1xx− and hence 2xxxx(1+ ) ∞ −= =2 n 32 3 ∑ nx . (38) (11−−xx) ( ) ( 1 − x) n=0

−3 Therefore, xx( +−11)( x) is the generating function of all square numbers. From (38) it also follows that the generating function for all gnomonic numbers is xx(1+ ) ∞∞ = −=nn 2 ∑∑( 21n) x gxn . (1− x) nn=11=  The sum of the first n square numbers is given in (11). For the exact sum of the reciprocals of the first n square numbers no formula exists; however, the problem of summing the reciprocals of all square numbers has a long history and in the literature it is known as the Basel problem. Euler in 1748 consi- dered sinxx , x≠ 0 which has roots at ±nnπ, ≥ 1 . Then, he wrote this function in terms of infinite product sin x xxx246 =−+−+1  x 3! 5! 7!

xxx222    =−−− 1122  22  1 22  , 123πππ   which on equating the coefficients of x2 , gives 11 1 1 = +++, 6 12322ππ 22π 22 and hence 111 π2 + ++= ≈ 1.6449340668. (39) 123222 6

DOI: 10.4236/jamp.2021.98132 2055 Journal of Applied Mathematics and Physics

R. P. Agarwal

The above demonstration of Euler is based on manipulations that were not justified at the time, and it was not until 1741 that he was able to produce a truly rigorous proof. Now in the literature for (39) several different proofs are known, e.g., for a recent elementary, but clever demonstration, see Murty [23].  The following result provides a characterization of all Pythagorean triples, i.e., solutions of (18): Let u and v be any two positive integers, with uv> , then the three numbers a=−==+ u22 v, b 2 uv , c u22 v (40) form a . If in addition u and v are of opposite -one even and the other odd-and they are coprime, i.e., that they do not have any common factor other than 1, then (abc,,) is a primitive Pythagorean triple. The con- verse, i.e., any Pythagorean triple is necessarily of the form (40) also holds. For the proof and history of this result see, Agarwal [14]. From (18), (32), and (40) the following relations hold

SSa+= b S c, ( tt aa +−−11) ++( tt bb) =+( tt cc − 1), (41) S+= SS. uv22−+2uv uv22

2 The relation (30) can be written as nn2 +(21 +=) ( n + 1) . With the help of this relation we can find Pythagorean triples (abc,,) . For this, we let 21nm+= 2 , (and hence m is odd), then nm=2 −12, nm+=1 2 +1 2 . Thus, it follows that 22 mm22−+11   m2 +=  , i.e., 22   (42) SS+= S, ( m odd) . m (mm22−+12) ( 12)

For m = 3,5,7,9, Equation (42) gives solutions of (18): mab c 3 34 5 5 5 12 13 7 7 24 25 9 9 40 41

Similar to (42) for m even we also have the relation 2 mm22   m2 + −=1  + 1  , i.e., 44   (43) SS+= S m even . m (mm22−+ 4) 4 ( 4) 4 ( )

For m = 4,6,8,10, Equation (43) gives solutions of (18): ma b c 443 5 6 6 8 10 8 8 15 17 10 10 24 26

DOI: 10.4236/jamp.2021.98132 2056 Journal of Applied Mathematics and Physics

R. P. Agarwal

2 2 In (40), letting um=( + 2) and vm=( +1) , from (18) and (32), we get the relations

2 2 222 (2m+ 3) +( 2( mm + 1)( + 2)) =(( m +++ 1) ( m 2) ) , i.e., SS+= S , 23m+ 21(mm++)( 2) (mm+12)22 ++( )

which is the same as

2 2 (t23m+++ t 22 m) +16 t m + 1 =++( t m + 22 tt mm + 1 ) .

 In 1875, Francois Edouard Anatole Lucas (1842-1891, French) challenged the mathematical community to prove that the only solution of the equation n 1 ∑ k22= nn( +12)( n += 1) m k =1 6

with n > 1 is when n = 24 and m = 70 . In the literature this has been termed as the cannonball problem, in fact, it can be visualized as the problem of taking a square arrangement of cannonballs on the ground and building a square pyra- mid out of them. It was only in 1918, George Neville Watson (1886-1965, Britain) used elliptic functions to provide correct (filling gaps in earlier attempts) proof of Lucas assertion. Simplified proofs of this result are available, e.g., in Ma [24] and Anglin [25].

4. Rectangular (Oblong, Pronic, Heteromecic) Numbers Rn

In this arrangement rows contain (n +1) whereas columns contain n dots, see Figure 7. From Figure 7 it is clear that the ratio (nn+1) of the sides of rectangles depends on n. Further, we have

Rnn =++++2468 + 2 (44) =21234( ++++ +n) = 2 tn = nn( + 1)

i.e., we add successive even numbers, or two times triangular numbers. It also

follows that rectangular number Rn+1 is made from Rn by adding an L--shaped border (a gnomon), with 21(n + ) dots, i.e.,

RRnn+1 −=2( n + 1,) (45)

i.e., the differences between successive nested rectangular numbers produce the sequence of even numbers.

Figure 7. Rectangular numbers.

DOI: 10.4236/jamp.2021.98132 2057 Journal of Applied Mathematics and Physics

R. P. Agarwal

Thus the odd numbers generate a limited number of forms, namely, squares, while the even ones generate a multiplicity of rectangles which are not similar. From this the Pythagoreans deduced the following correspondence: odd↔↔ limited and even unlimited.

We also have the relations nn( +−1) ( n 1) n 22 n( n + 1) RS+=23 t ++( tt− ) = + = =t n n n nn1222 2n (46)

RSn−= n2 t n −+( tt nn−−11) =−= tt nn n

2 2RSSnnn+++1 =6 tt nnn + −+ 11 + t =(21 n +) (47) 2 2 22 S21n+ =(2 n + 1) = 4 nn( + 1) += 18 tnn += 1( 4 t + 1) −( 4 t n)

2 (3S21n+) = tt 9 nn ++ 4 − 31

Rtnn=+−+−11 t n 1. From (31) and (46) it follows that

21n− k +1 ∑ (−1) tk =+− t1( tt 3 2) ++ ( t21nn−− − t 22) k =1 =++13 +( 2nn − 1) =2 .

 Relation (44) shows that the product of two consecutive positive integers n and (n +1) is the same as two times n-th triangular numbers. According to historians with this relation Pythagoreans’ enthusiasm was endless. Relation (45) reveals that every even integer 2n is the difference of two consecutive

rectangular numbers Rn and Rn−1 . Relation (46) displays that every positive integer n is the difference of n-th and (n −1) -th triangular numbers. Rela- tion (47) is due to Plutarch), it says an integer n is a triangular number if and only if 81n + is a perfect odd square.  Let m be a given natural number, then it is n-th rectangular number, i.e.,

mR= n if and only if nm=−+( 1 14 + ) 2. −3  From (10) it is clear that 21xx( − ) is the generating function of all rec- tangular numbers.  From (15)-(17) and (44) it is clear that n 1 ∑ Rk = nn( ++ 1)( n 2,) k =1 3 (48) n 1 11∞ ∑∑ =−= 1 , 1. kk=11Rnkk+1 = R  There is no rectangular number which is also a perfect square, in fact, the equation nn( +=1) m2 has no solutions (the product of two consecutive in- tegers cannot be a prefect square).  To find all rectangular numbers which are also triangular numbers, we need to find integer solutions of the equation nn( +=1) mm( + 12) . This equa- tion can be written as Pell’s equation ba22−=−21 (its fundamental solu- tion is (ab,) = ( 1,1) ) where bm=21 + and an=21 + . For this, corres-

DOI: 10.4236/jamp.2021.98132 2058 Journal of Applied Mathematics and Physics

R. P. Agarwal

ponding to (22) the system is

mk+−1=34 mm kk −+ 1 16, m 12 = 3, m = 119 (49) nk+−1=34 nn kk −+ 1 16, n 12 = 2, n = 84.

This system genetrates all (infinite) solutions (mnkk, ) of the equation nn( +=1) mm( + 12) . First few of these solutions are (3,2) ,( 119,84) ,( 4059,2870) ,( 137903,97512) ,( 4684659,3312554) .

For k ≥ 1 , explicit solution of the system (49) can be written as 1 41kk−−41 mk =( 21 +) −−( 21) − 2 4 

2 41kk−−41 nk =( 2 + 1) +−( 2 1) − 22 8 

 Fibonacci numbers denoted as Fn are defined by the

FFnn=+==−−1 F n 20, F 0, F 1 1 or the closed from expression nn 115+−  15  F =  − . n 22   5   

First few of these numbers are 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144. For the origin of Fibonacci numbers, see Agarwal and Sen [5]. Lucas numbers denoted

by Ln are defined by the same recurrence relation as Fibonacci numbers except

first two numbers as LL01=2, = 1 or the closed from expression nn 15+−  15  = + Ln   . 22   First few of these numbers are 2, 1, 3, 4, 7, 11, 18, 29, 47, 76, 123, 199, 322, 521, 843, 1364, 2207, 3571, 5778, 9349. Clearly, Fibonacci numbers 1, 3, 21, 55 are al-

so triangular numbers tttt1,,, 2 6 10 . In 1989, Luo [26] had used (47) to show that these are the only Fibonacci numbers which are also triangular. This conjecture was made by Verner Emil Hoggatt Jr. (1921-1980, USA) in 1971. Similarly, only

Lucas numbers which are also triangular are 1, 3, 5778, i.e., ttt1,, 2 107 . From the above explicit expressions the following relations can be obtained easily

LFnn=−+11 + F n and FLLnn=( −+11 + n) 5 .

5. Pentagonal Numbers Pn

The pentagonal numbers are defined by the sequence 1,5,12,22,35,51, , i.e., beginning with 5 each number is formed from the previous one in the sequence by adding the next number in the related sequence 4,7,10, ,( 3n − 2) . Thus, 514= + , 12=++=+ 1 4 7 5 7 , 22=+++ 1 4 7 10 = 12 + 10 , and so on (see Fig- ure 8 and Figure 9). Thus, n-th is defined as

PPnn=−1 +(32147 n −) =+++ +( 32.n −) (50)

DOI: 10.4236/jamp.2021.98132 2059 Journal of Applied Mathematics and Physics

R. P. Agarwal

Figure 8. Pentagonal numbers.

Figure 9. Pentagonal numbers.

Comparing (50) with (3), we have ad=1, = 3 and hence from (4) it follows that n 11(3nn− 13)( ) Pn=(31 −=) =t− . (51) nn2 32 331

It is interesting to note that Pn is the sum of n integers starting from n, i.e.,

Pnnn =++++++( 1) ( n 2)  ( 2 n − 1,) (52)

whose sum from (4) is the same as in (51). Note that from (50), we have

PPPnnn=2−−12 − −( PP nn −− 12 −) +−(32 n)

=2PPnn−−12 − −( 3 n −− 32) +( 3 n − 2)

=2PPnn−−12 −+ 3. From (32) and (51), we also have

nn( −1) 2 P= += n t−− ++( tt) n 2 n11 nn (53)

=+=−ttnn2.−1 t 21 nn −− t 1

 Relation (51) shows that pentagonal number Pn is the one-third of the (31n − ) -th triangular number, whereas relation (53) reveals that it is the sum of n-th triangular number and two times of (n −1) -th triangular number, and it is the difference of (21n − ) -th triangular number and (n −1) -th tri- angular number.  Let m be a given natural number, then it is n-th pentagonal number, i.e.,

mP= n if and only if nm=++(1 1 24) 6 .

DOI: 10.4236/jamp.2021.98132 2060 Journal of Applied Mathematics and Physics

R. P. Agarwal

 As in (38), we have ∞ 31x(1++ x) x xx(21) n = −= ∑ Pxn 3 23 n=0 22(1−x) ( 11 −− xx) ( )

−3 and hence xx(2+− 11)( x) is the generating function of all pentagonal num- bers.  From (2), (11) and (51) it is easy to find the sum of the first n pentagonal numbers n 1 2 ∑ Pk = nn( +1.) (54) k =1 2

 To find the sum of the reciprocals of all pentagonal numbers, we begin with the series ∞ 2 fx( ) = ∑ x3k k =1 kk(31− )

and note that ∞∞21 f (1,) = ∑∑= kk=11kk(31− ) = Pk ∞ 1 fx′( ) = 6,∑ x31k − k =1 31k − ∞ 6x ′′ =32k − = fx( ) 6∑ x 3 . k =1 1− x

Now since ff(0) =′( 00) = , we have

x 6t fx( ) =( xt − ) d t ∫0 1− t3 and hence 1 6t f(1) = (1 − tt) d ∫0 1− t3  1121t + 1 = 3 dtt− d, ∫∫0022 tt++1 ++2 (t 12) ( 3 2) which immediately gives ∞ 1 π ∑ = 3ln 3 −≈ 1.4820375018. (55) k =1 Pk 3  To find all square pentagonal numbers, we need to find integer solutions of the equation nn(3−= 12) m2 . This equation can be written as Pell’s equa- tion ba22−=61 (its fundamental solution is (ab,) = ( 2,5) ), where bn=61 − and am= 2 . For this, corresponding to (22) the system is

mk+−1=−==98 mm kk11 , m 1, m 2 99 (56) nk+−1=98 nn kk −− 1 16, n 12 = 1, n = 81

This system genetrates all (infinite) solutions (mnkk, ) of the equation

DOI: 10.4236/jamp.2021.98132 2061 Journal of Applied Mathematics and Physics

R. P. Agarwal

nn(3−= 12) m2 . First few of these solutions are (1,1) ,( 99,81) ,( 9701,7921) ,( 950599,776161) ,( 93149001,76055841) .

For k ≥ 1 , explicit solution of the system (56) can be written as 1 21kk−−21 = + −− mk k (5 6 12) ( 5 6 12) 46× 

1121kk−−21 = + +− + nk k +12 (5 6 12) ( 5 6 12) . 26× 6  To find all pentagonal numbers which are also triangular numbers, we need to find integer solutions of the equation n(3 n−= 12) mm( + 12) . This eq- uation can be written as Pell’s equation ba22−=−32 (its fundamental so- lution is (ab,) = ( 3, 5) ) where bn=61 − and am=21 + . For this, corres- ponding to (22) the system is

mk+−1=14 mm kk −+ 1 6, m 12 = 1, m = 20 (57) nk+−1=14 nn kk −− 1 2, n 12 = 1, n = 12

This system generates all (infinite) solutions (mnkk, ) of the equation n(3 n−= 12) mm( + 12) . First few of these solutions are (1,1) ,( 20,12) ,( 285,165) ,( 3976,2296) ,( 55385,31977) .

For k ≥ 1 , explicit solution of the system (57) can be written as 1 21kk−−21 mk =(3 + 32)( + 3) +−( 3 32)( − 3) − 6 12 

1 21kk−−21 nk =(1 + 32)( + 3) +−( 1 32)( − 3) + 2 12   To find all pentagonal numbers which are also rectangular numbers, we need to find integer solutions of the equation n(3 n−= 12) mm( + 1) . This equa- tion can be written as Pell’s equation ba22−=−65 (its fundamental solu- tion is (ab,) = ( 1,1) ) where bn=61 − and am=21 + . For this, corres- ponding to (22) the system is

mk+−1=98 mm kk −+ 1 48, m 12 = 3, m = 341 (58) nk+−1=98 nn kk −− 1 16, n 12 = 3, n = 279

This system genetrates all (infinite) solutions (mnkk, ) of the equation n(3 n−= 12) mm( + 1) . First few of these solutions are (3,3) ,( 341,279) ,( 33463,27323) ,( 3279081,2677359) ,(321316523,262353843) .

For k ≥ 1 , explicit solution of the system (58) can be written as 1 21kk−−21 mk =(6 + 6)( 5 + 26) +−( 6 6)( 5 − 26) − 12 24 

1 21kk−−21 nk =( 6 ++ 15)( 26) +−−( 6 15)( 26) + 2 12 

6. Hexagonal Numbers Hn

The hexagonal numbers are defined by the sequence 1,6,15,28,45, , i.e., be-

DOI: 10.4236/jamp.2021.98132 2062 Journal of Applied Mathematics and Physics

R. P. Agarwal

ginning with 6 each number is formed from the previous one in the sequence by adding the next number in the related sequence 5,9,13,17,21, ,( 4n − 3) . Thus, 6= 15 + , 15=++=+ 1 5 9 6 9 , 28=+++ 1 5 9 13 = 15 + 13 , and so on (see Figure 10). Thus, n-th is defined as

HHnn=−1 +−=+++++−(4 n 3) 15913 ( 4n 3.) (59)

Comparing (59) with (3), we have ad=1, = 4 and hence from (4) it follows that n (2nn− 12)( ) H=(4 n −= 2) =nn(2 − 1.) (60) n 22

 From (60) it is clear that Htnn= 21− , i.e., alternating triangular numbers are hexagonal numbers.  Let m be a given natural number, then it is n-th hexagonal number, i.e.,

mH= n if and only if nm=++(1 18) 4.  As in (38), we have ∞ x(1++ x) x xx(31) n = −= ∑ Hxn 2 32 3 n=0 (11−−xx) ( ) ( 1 − x)

−3 and hence xx(3+− 11)( x) is the generating function of all hexagonal num- bers.  From (2), (11), and (60) it is easy to find the sum of the first n hexagonal numbers n 1 ∑ Hk = nn( +−1)( 4 n 1.) (61) k =1 6  To find the sum of the reciprocals of all hexagonal numbers, as for - = ∞ 2n − al numbers we begin with the series fx( ) ∑k =1 x n(21 n ) , and get ∞ 111 − t ft(1) = = 2 d = 2ln 2 ≈ 1.3862943611. ∑ ∫0 2 (62) k =1 Hk 1− t

 To find all square hexagonal numbers, we need to find integer solutions of the equation nn(21−=) m2 . This equation can be written as Pell’s equation 22 ba−=21 (its fundamental solution is (ab,) = ( 2,3) ), where bn=41 − and am= 2 . For this, corresponding to (22) the system is

Figure 10. Hexagonal numbers.

DOI: 10.4236/jamp.2021.98132 2063 Journal of Applied Mathematics and Physics

R. P. Agarwal

mk+−1=−==34 mm kk11 , m 1, m 2 35 (63) nk+−1=34 nn kk −− 1 8, n 12 = 1, n = 25

This system generates all (infinite) solutions (mnkk, ) of the equation nn(21−=) m2 . First few of these solutions are (1,1) ,( 35,25) ,( 1189,841) ,( 40391,28561) ,( 1372105,970225) .

For k ≥ 1 , explicit solution of the system (63) appears as 1 21kk−−21 mabk = 2121 kk−− =(3 + 22) −−( 3 22) 42

21kk−−21 2 1  nakk = 21− =( 3 + 22) +−( 3 22) + 2 8 

here, an and bn are as in (25).  To find all hexagonal numbers which are also rectangular numbers, we need to find integer solutions of the equation n(21 n−=) mm( + 1) . This equation can be written as Pell’s equation ba22−=−21 (its fundamental solution is (ab,) = ( 1,1) ) where bn=41 − and am=21 + . For this, corresponding to (22) the system is

mk+−1=34 mm kk −+ 1 16, m 12 = 2, m = 84 (64) nk+−1=34 nn kk −− 1 8, n 12 = 2, n = 60

This system generates all (infinite) solutions (mnkk, ) of the equation n(21 n−=) mm( + 1) . First few of these solutions are (2,2) ,( 84,60) ,( 2870,2030) ,( 97512,68952) ,( 3312554,2342330) .

For k ≥ 1 , explicit solution of the system (64) can be written as 2 41kk−−41 mk =( 2 + 1) +−( 2 1) − 22 8 

1 41kk−−41 nk =( 21 +) −−( 21) + 2 8   To find all hexagonal numbers which are also pentagonal numbers, we need to find integer solutions of the equation nn(2−= 1) mm( 3 − 12) . This equa- tion can be written as Pell’s equation ba22−=−32 (its fundamental solu- tion is (ab,) = ( 1,1) ) where bm=61 − and an=41 − . For this, corres- ponding to (22) the system is

mk+−1=194 mm kk −−1 32, m 12 = 1, m = 165 (65) nk+−1=194 nn kk −−1 48, n 12 = 1, n = 143

This system generates all (infinite) solutions (mnkk, ) of the equation nn(2−= 1) mm( 3 − 12) . First few of these solutions are (1,1) ,( 165,143) ,( 31977,27693) ,( 6203341,5372251) ,

(1203416145,1042188953) .

For k ≥ 1 , explicit solution of the system (65) can be written as 1 42kk−−42 mk =( 312 −+)( 3) −+( 312)( − 3) + 2 12 

1 44kk−−44 nk =(9 + 53)( 2 + 3) +−( 9 53)( 2 − 3) + 6 24 

DOI: 10.4236/jamp.2021.98132 2064 Journal of Applied Mathematics and Physics

R. P. Agarwal

7. Generalized Pentagonal Numbers (Centered Hexagonal Numbers, Hex Numbers) (GP)n

The generalized pentagonal numbers are defined by the sequence 1,7,19,37,61,, i.e., beginning with 7 each number is formed from the previous one in the se- quence by adding the next number in the related sequence 6,12,18, ,6(n − 1) . Thus, 7= 16 + , 19=++ 1 6 12 =+ 7 12 , 37=++ 1 6 12 + 18 = 19 + 18 , and so on (see Figure 11). These numbers are also called centered hexagonal numbers as these represent hexagons with a dot in the center and all other dots surrounding the center dot in a hexagonal lattice. These numbers have practical applications in materials logistics management, for ex- ample, in packing round items into larger round containers, such as Vienna sausages into round cans, or combining individual wire strands into a cable. Thus, n-th generalized pentagonal number is defined as = +−=++++− (GP)nn( GP) −1 61161261( n )  (n ) (66) =+1612 ++ +(n − 1.)

Hence, from (2) it follows that (nn−1) (GP) =+16 =+− 13n( n 1) n 2 (67)

=+=++tt16n− 1 t nn 4. t −− 12 t n  = = Incidentally, (GP)2 7 occurs in uds baryon octet, whereas (GP)5 61 makes a part of a Chinese checkers board. 3  Since 13+nn( −= 1) n3 −−( n 1) , generalized pentagonal numbers are dif-

ferences of two consecutive cubes, so that the (GP)n are the gnomon of the cubes.  −22 − = −= = Clearly, (21n) ( GP)n n( n1) Rnn−−11 2 t .  Let m be a given natural number, then it is n-th generalized pentagonal = =+− number, i.e., m( GP)n if and only if nm(3 12 3) 6 .  From (10) and (67), we have

2 ∞ xx6 2 x(14++ xx) n =+= ∑(GP)n x 33 n=0 1− x (11−−xx) ( )

2 −3 and hence x(14++ xx)( 1 − x) is the generating function of all generalized pentagonal numbers.

Figure 11. Generalized pentagonal numbers (centered hexagonal numbers).

DOI: 10.4236/jamp.2021.98132 2065 Journal of Applied Mathematics and Physics

R. P. Agarwal

 From (15) and (67) it is easy to find the sum of the first n generalized penta- gonal numbers

n nn−1 =+ =+ =+− +=3 ∑(GPntntnnnnn)k 6 ∑∑kk−1 6( 1) ( 1.) (68) k=1 kk= 11=

 Since from (32) and (46), we have

22 3 ttnn−=+−1( tt nn −− 11)( tt nn −) = n

from (68) it follows that

n =−=22 3 ∑(GP)k tnn t−1 n . (69) k =1

Thus the equation c2= ab 32 + has an infinite number of integer solutions. In fact, for each n ≥ 1 equations c22= ab + n and c22= abn + have infinite number of solutions (see Agarwal [14]).  To find the sum of the reciprocals of all generalized pentagonal numbers we need the following well-known result, e.g., see Andrews et al. [27], page 536, and Efthimiou [28] 1∞ 1π 1e+ −2π s +=2 . ∑ 2 −2π s (70) s k =1 ks+ s 1e− Now from (70), we have ∞∞1 14 ∞ 1 ∑∑= = ∑ 22−+ kk=11(GP)k = 3kk 313 k= 1(2k −+ 1) 13 4∞∞ 11 1 = − ∑∑22 34kk=11kk++1 3= 1 12 41 1e++−2π 33 1 1e−π  =ππ3−− 3 2 3− 12  −−2π 33 π  32 1e−−8 1e  π 1e+ −2π 3 = 2−+ 1e−π 3  −π 3 ( ) 31( − e−π 3 ) 1e+ π 1e− −π 3 = 3 1e+ −π 3 and hence ∞ 1 ππ ∑ = tanh ≈ 1.3052841530. (71) k =1 (GP)k 3 23

 To find all square generalized pentagonal numbers, we need to find integer solutions of the equation 13+nn( −= 1) m2 . This equation can be written as Pell’s equation ba22−=31 (its fundamental solution is (ab,) = ( 1, 2 ) ), where bm= 2 and an=21 − . For this, corresponding to (22) the system is

mk+−1=−==14 mm kk11 , m 1, m 2 13 (72) nk+−1=14 nn kk −− 1 6, n 12 = 1, n = 8

This system genetrates all (infinite) solutions (mnkk, ) of the equation

DOI: 10.4236/jamp.2021.98132 2066 Journal of Applied Mathematics and Physics

R. P. Agarwal

13+nn( −= 1) m2 . First few of these solutions are (1,1) ,( 13,8) ,( 181,105) ,( 2521,1456) ,( 35113,20273) .

For k ≥ 1 , explicit solution of the system (72) appears as 1 21kk−−21 mk =(23 +) +−( 23) 4 

3121kk−−21 nk =(23 +) −−( 23) + 12 2  To find all generalized pentagonal numbers which are also triangular num- bers, we need to find integer solutions of the equation 13+nn( −= 1) mm( + 12) . This equation can be written as Pell’s equation ba22−=63 (its fundamental solution is (ab,) = ( 1, 3) ), where bm=21 + and an=21 − . For this, corresponding to (22) the system is

mk+−1=10 mm kk −+ 1 4, m 12 = 1, m = 13 (73) nk+−1=10 nn kk −− 1 4, n 12 = 1, n = 6

This system genetrates all (infinite) solutions (mnkk, ) of the equation 13+nn( −= 1) mm( + 12) . First few of these solutions are (1,1) ,( 13,6) ,( 133,55) ,( 1321,540) ,( 13081,5341) .

For k ≥ 1 , explicit solution of the system (73) can be written as 1 kk−−11 mk =(3 + 6)( 5 + 26) +−( 3 6)( 5 − 26) − 2 4 

1 kk−−11 nk =(2 + 6)( 5 + 26) +−( 2 6)( 5 − 26) + 4 8   There is no generalized pentagonal number which is also a rectangular num- ber, in fact, the equation 13+nn( −= 1) mm( + 1) has no solutions. For this, we note that this equation can be written as Pell’s equation ba22−=32, where bm=21 + and an=21 − . Now reducing this equation to (mod 3) gives b2 = 2( mod 3) , which is impossible since all squares (mod 3) are ei- ther 0 or 1 (mod 3) .  To find all generalized pentagonal numbers which are also pentagonal num- bers, we need to find integer solutions of the equation 13+nn( −= 1) m( 3 m − 12) . This equation can also be written as Pell’s equa- tion ba22−=18 7 (its fundamental solution is (ab,) = ( 1, 5 ) ), where bm=61 − and an=21 − . For this, corresponding to (22) the system is

mk+−1=1154 mm kk −−1 192, m 12 = 1, m = 889 (74) nk+−1=1154 nn kk −−1 576, n 12 = 1, n = 629

This system genetrates all (infinite) solutions (mnkk, ) of the equation 13+nn( −= 1) m( 3 m − 12) . First few of these solutions are (1,1) ,( 889,629) ,( 1025713,725289) ,( 1183671721,836982301) ,

(1365956140129,965876849489) .

For k ≥ 1 , explicit solution of the system (74) can be written as

DOI: 10.4236/jamp.2021.98132 2067 Journal of Applied Mathematics and Physics

R. P. Agarwal

1  k mk =−+(378879 267903 2)( 577 408 2 ) 10404 

k  ++378879 267903 2 577 − 408 2 + 1734 ( )( )  1  k nk =(126293 2 −+ 178602)( 577 408 2 ) 6936 

k  −126293 2 + 178602 577 −+ 408 2 3468 . ( )( ) 

 To find all generalized pentagonal numbers which are also hexagonal num- bers, we need to find integer solutions of the equation 13+nn( −= 1) m( 2 m − 1) . This equation can also be written as Pell’s equation ba22−=63 (its fundamental solution is (ab,) = ( 1, 3) ), where bm=41 − and an=21 − . For this, corresponding to (22) the system is

mk+−1=10 mm kk −− 1 2, m 12 = 1, m = 7 (75) nk+−1=10 nn kk −− 1 4, n 12 = 1, n = 6

This system generates all (infinite) solutions (mnkk, ) of the equation 13+nn( −= 1) m( 2 m − 1) . First few of these solutions are (1,1) ,( 7,6) ,( 67,55) ,( 661,540) ,( 6541,5341) .

For k ≥ 1 , explicit solution of the system (75) can be written as 1 kk−−11 mk =(3 + 6)( 5 + 26) +−( 3 6)( 5 − 26) + 2 8 

1 kk−−11 nk =(2 + 6)( 5 + 26) +−( 2 6)( 5 − 26) + 4 8 

8. Heptagonal Numbers ( Numbers) (HEP)n

These numbers are defined by the sequence 1,7,18,34,55,81,, i.e., beginning with 7 each number is formed from the previous one in the sequence by adding the next number in the related sequence 6,11,16,21, ,( 5n − 4) . Thus, 7= 16 + , 18=++ 1 6 11 =+ 7 11 , 34=++ 1 6 11 + 16 = 18 + 16 , and so on (see Figure 12). Thus, n -th is defined as = +−=+++++− (HEP)nn( HEP) −1 (5 n 4) 1 6 11 16 ( 5n 4) (76) =++++×+1( 1 5) ( 1 2 5)  ++( 1(n − 15.) )

Figure 12. Heptagonal numbers.

DOI: 10.4236/jamp.2021.98132 2068 Journal of Applied Mathematics and Physics

R. P. Agarwal

Comparing (76) with (3), we have ad=1, = 5 , and hence from (4) it follows that n 1 (HEP) =(5 n − 3) = n( n ++ 14) ( n − 1) =+ tnn 4. t −1 (77) n 22  ≥ For all integers k 0 it follows that (HEP)41k + and (HEP)42k + are odd,

whereas (HEP)43k + and (HEP)44k + are even.  From (77) the following equality holds (5nn−− 25)( 1) 5(HEP) += 1 5 t + 20 t −− += 1 =t . n nn1 2 52n  Let m be a given natural number, then it is n-th heptagonal number, i.e., = =++ m( HEP)n if and only if nm(3 9 40) 10 .  From (10) and (77), we have xx(41+ ) =++23 + 4 + 3 xx 7 18 x 34 x (1− x)

−3 and hence xx(4+− 11)( x) is the generating function of all heptagonal num- bers.  In view of (15) and (77), we have n 1 =+− ∑(HEP)k n( n 1)( 5 n 2.) (78) k =1 6

 The sum of reciprocals of all heptagonal numbers is (see https://en.wikipedia.org/wiki/Heptagonal_number) ∞ 1 1 2 15+  1 ∑ =π−25 10 5 + ln( 5) + ln 10 − 2 5 k =1 (HEP)k 15 3 3 2 15−  1 ++ln 10 2 5 (79) 32 ≈ 1.3227792531.  To find all square heptagonal numbers, we need to find integer solutions of the equation nn(5−= 32) m2 . This equation can be written as Pell’s equa- tion ba22−=40 9 (its fundamental solutions are (ab,) = ( 1, 7) ,( 2,13) and (9,57) ), where bn=10 − 3 and am= . For (1,7) , corresponding to (22) the system is

mk+−1=−==1442 mmm kk11 , 1, m 2 1519 (80) nk+−1=1442 nn kk −−1 432, n 12 = 1, n = 961

This system genetrates infinite number of solutions (mnkk, ) of the equation nn(5−= 32) m2 . First four of these solutions are (1,1) ,( 1519,961) ,( 2190397,1385329) ,( 3158550955,1997643025) .

For (2,13) recurrence relations remain the same as in (80) with

mm12=77, = 111035 and nn12=49, = 70225 . This leads to another set of in- 2 finite number of solutions (mnkk, ) of the equation nn(5−= 32) m. First four of these solutions are

DOI: 10.4236/jamp.2021.98132 2069 Journal of Applied Mathematics and Physics

R. P. Agarwal

(77,49) ,( 111035,70225) ,( 160112393,101263969) ,

(230881959671,146022572641) .

For (9,57) also recurrence relations remain the same as in (80) with

mm12=9, = 12987 and nn12=6, = 8214 . This leads to further set of infinite 2 number of solutions (mnkk, ) of the equation nn(5−= 32) m. First four of these solutions are (9,6) ,( 12987,8214) ,( 18727245,11844150) ,( 27004674303,17079255654) .

 To find all heptagonal numbers which are also triangular numbers, we need to find integer solutions of the equation n(5 n−= 32) mm( + 12) . This eq- uation can be written as Pell’s equation ba22−=54 (its fundamental solu- tions are (ab,) = ( 3, 7) and (1,3) ), where bn=10 − 3 and am=21 + . For (3,7) corresponding to (22) the system is

mk+−1=322 mm kk −+1 160, m 12 = 1, m = 493 (81) nk+−1=322 nn kk −−1 96, n 12 = 1, n = 221

This system genetrates infinite number of solutions (mnkk, ) of the equation n(5 n−= 32) mm( + 12) . First four of these solutions are (1,1) ,( 493,221) ,( 158905,71065) ,( 51167077,22882613) .

For (1,3) recurrence relations remain the same as in (81) with

mm12=10, = 3382 and nn12=5, = 1513. This leads to another set of infinite

number of solutions (mnkk, ) of the equation n(5 n−= 32) mm( + 12) . First four of these solutions are (10,5) ,( 3382,1513) ,( 1089154,487085) ,( 350704366,156839761) .

 To find all heptagonal numbers which are also rectangular numbers, we need to find integer solutions of the equation n(5 n−= 32) mm( + 1) . This equa- tion can be written as Pell’s equation ba22−=−10 1 (its fundamental solu- tion is (ab,) = ( 1, 3) ), where bn=10 − 3 and am=21 + . For this, corres- ponding to (22) the system is

mk+−1=1442 mm kk −+1 720, m 12 = 18, m = 26676 (82) nk+−1=1442 nn kk −−1 432, n 12 = 12, n = 16872

This system genetrates infinite number of solutions (mnkk, ) of the equation n(5 n−= 32) mm( + 1) . First four of these solutions are (18,12) ,( 26676,16872) ,( 38467494,24328980) ,( 55470100392,35082371856) .

To find all heptagonal numbers which are also pentagonal numbers, we need to find integer solutions of the equation nn(5−= 32) mm( 3 − 12) . This equa- tion can be written as Pell’s equation ba22−=15 66 (its fundamental solution is (ab,) =( − 1, 9 ) ), where bn=3( 10 − 3) and am=61 − . For this, corres- ponding to (22) the system is

mk+−1=62 mm kk −− 1 10, m 12 = 1, m = 54 (83) nk+−1=62 nn kk −− 1 18, n 12 = 1, n = 42

DOI: 10.4236/jamp.2021.98132 2070 Journal of Applied Mathematics and Physics

R. P. Agarwal

This system genetrates infinite number of solutions (mnkk, ) of the equation nn(5−= 32) mm( 3 − 12) . First few of these solutions are (1,1) ,( 54,42) ,( 3337,2585) ,( 206830,160210) ,( 12820113,9930417) .

 To find all heptagonal numbers which are also hexagonal numbers, we need to find integer solutions of the equation nn(5−= 32) mm( 2 − 1) . This equ- ation can be written as Pell’s equation ba22−=54 (its fundamental solu- tion is (ab,) =( − 1, 3) ), where bn=10 − 3 and am=41 − . For this, cor- responding to (22) the system is

mk+−1=322 mm kk −−1 80, m 12 = 1, m = 247 (84) nk+−1=322 nn kk −−1 96, n 12 = 1, n = 221

This system generates infinite number of solutions (mnkk, ) of the equation nn(5−= 32) mm( 2 − 1) . First few of these solutions are (1,1) ,( 247,221) ,( 79453,71065) ,( 25583539,22882613,)

(8237820025,7368130225) .

 To find all heptagonal numbers which are also generalized pentagonal num- bers, we need to find integer solutions of the equation n(5 n−=+− 32) 13 mm( 1) . This equation can be written as Pell’s equation ba22−=30 19 (its fundamental solution is (ab,) = ( 1, 7 ) ), where bn=10 − 3 and am=21 − . For this, corresponding to (22) the system is

mk+−1=22 mm kk −− 1 10, m 12 = 1, m = 13 (85) nk+−1=22 nn kk −− 1 6, n 12 = 1, n = 14

This system generates infinite number of solutions (mnkk, ) of the equation n(5 n−=+− 32) 13 mm( 1) . First few of these solutions are (1,1) ,( 13,14) ,( 275,301) ,( 6027,6602) ,( 132309,144937.)

9. Octagonal Numbers On

These numbers are defined by the sequence 1,8,21,40,65,96,133,176, , i.e., beginning with 8 each number is formed from the previous one in the sequence by adding the next number in the related sequence 7,13,19,25, ,( 6n − 5) . Thus, 817= + , 21=++ 1 7 13 =+ 8 13 , 40=++ 1 7 13 + 19 = 21 + 19 , and so on (see Figure 13). Thus, n-th is defined as

Figure 13. Octagonal numbers.

DOI: 10.4236/jamp.2021.98132 2071 Journal of Applied Mathematics and Physics

R. P. Agarwal

OOnn=−1 +−=+++++−(6 n 5) 1 7 13 19 ( 6n 5) (86) =++++×+1( 1 6) ( 1 2 6)  ++( 1(n − 16.) )

Comparing (86) with (3), we have ad=1, = 6 , and hence from (4) it follows that n O=(6 n −= 4) nn( 3 −=+ 2) t 5. t− (87) n2 nn1

 For all integers k ≥ 0 it follows that O21k + are odd, whereas O22k + are even (in fact divisible by 4).  Let m be a given natural number, then it is n-th octagonal number, i.e.,

mO= n if and only if nm=++(1 13) 3.  From (10) and (87), we have xx(51+ ) =+++23 4 + 3 xx 8 21 x 40 x (1− x)

−3 and hence xx(5+− 11)( x) is the generating function of all octagonal num- bers.  In view of (15) and (87), we have n 1 ∑Ok = nn( +−1)( 2 n 1.) (88) k =1 2

 To find the sum of the reciprocals of all octagonal numbers, following Downey [29] we begin with the series ∞ 1 − fx( ) = ∑ x32k k =1 kk(32− )

and note that 3 ∞∞11 ∞ 1ln( 1− x ) = = ′ =33k − = − f(1) ∑∑, fx( ) ∑ x 3 . kk=11kk(32− ) = Ok k= 1k x Thus, we have 33 xxln( 1−−tx) ln( 1 ) 31 fx( ) =−=−++dt dt ∫∫00t321 xt 232 − 3 ln( 1− x ) 1x  2 21t + =−− 22+  21x 41∫0 t − tt++ 3 1  ln( 1− t ) −=  3 22dt lim 0 t→0+ 2t (t ++12) 34  2 ln( 1++xx) ln( 1− x) 1 = + −−lnx 1 22xx222 1 3 21x + 3π +ln( xx21 ++ 1) + tan − − . 4 2 3 12 Now since 11 − −= lim ln( 1x)2 1 0 x→1− 2 x

DOI: 10.4236/jamp.2021.98132 2072 Journal of Applied Mathematics and Physics

R. P. Agarwal

it follows that ∞ 13 3 ∑ = ln 3+ π ≈ 1.2774090576. (89) k =1 Ok 4 12  To find all square octagonal numbers, we need to find integer solutions of the equation nn(32−=) m2 . This equation can be written as Pell’s equation ba22−=31 (its fundamental solution is (ab,) = ( 1, 2 ) ), where bn=31 − and am= . For this, corresponding to (22) the system is

mk+−1=−==14 mm kk11 , m 1, m 2 15 (90) nk+−1=14 nn kk −− 1 4, n 12 = 1, n = 9

This system generates infinite number of solutions (mnkk, ) of the equation nn(32−=) m2 . First few of these solutions are (1,1) ,( 15,9) ,( 209,121) ,( 2911,1681) ,( 40545,23409) .

 To find all octagonal numbers which are also triangular numbers, we need to find integer solutions of the equation n(3 n−= 2) mm( + 12) . This equation can be written as Pell’s equation ba22−=6 10 (its fundamental solutions are (ab,) = ( 1, 4 ) and (3,8) ), where bn=43( − 1) and am=21 + . For (1, 4 ) corresponding to (22) the system is

mk+−1=98 mm kk −+ 1 48, m 12 = 6, m = 638 (91) nk+−1=98 nn kk −− 1 82, n 12 = 3, n = 261

This system generates infinite number of solutions (mnkk, ) of the equation n(3 n−= 2) mm( + 12) . First few of these solutions are (6,3) ,( 638,261) ,( 62566,25543) ,( 6130878,2502921) ,

(600763526,245260683) .

For (3,8) recurrence relations remain the same as in (91) with mm12=1, = 153

and nn12=1, = 63 . This leads to another set of infinite number of solutions

(mnkk, ) of the equation n(3 n−=+ 22) mm( 12) . First few of these solutions are (1,1) ,( 153,63) ,( 15041,6141) ,( 1473913,601723) ,( 144428481,58962681) .

 There is no octagonal number which is also a rectangular number, in fact, the equation n(32 n−=) mm( + 1) has no solutions. For this, we note that this equation can be written as Pell’s equation ba22−=31 (its fundamental so- lution is (ab,) = ( 1, 2 ) ), where bn=23( − 1) and am=21 + . For this, Pell’s equation all solutions can be generated by the system (corresponding to (21))

ak++2=−==4 a kk 1 aa , 12 1, a 4 (92) bk++2=−==4 b kk 1 bb , 12 2, b 7

Now an explicit solution of the second equation of (92) can be written as 1 kk bk = ( 23 +) +−( 23.) 2 

DOI: 10.4236/jamp.2021.98132 2073 Journal of Applied Mathematics and Physics

R. P. Agarwal

k k Next, if (23+=+) stkk 3, then (23−=−) stkk 3, and hence it fol-

lows that bskk= . We note that s1 ≡ 2( mod 6) and s2 ≡ 1( mod 6) . Thus, from the second equation of (92) mathematical induction immediately gives

s21− ≡ 2( mod 6) and s2 ≡ 1( mod 6) for all  ≥ 1 . In conclusion bskk= ≡ 1 or 2( mod 6) . Finally, reducing the relation bn=23( − 1) to (mod 6) gives

b ≡−2( mod 6) . Hence, in view of b > 0 , we conclude that bs≠ k for all in- tegers k, and therefore, the equation n(32 n−=) mm( + 1) has no solution.  To find all octagonal numbers which are also pentagonal numbers, we need to find integer solutions of the equation nn(3−= 2) mm( 3 − 12) . This equ- ation can be written as Pell’s equation ba22−=−87 (its fundamental solu- tions are (ab,) = ( 1,1) and (2,5) ), where bm=61 − and an=31 − . For (1,1) corresponding to (22) the system is

mk+−1=1154 mm kk −−1 192, m 12 = 1, m = 1025 (93) nk+−1=1154 nn kk −−1 384, n 12 = 1, n = 725

This system genetrates infinite number of solutions (mnkk, ) of the equation nn(3−= 2) mm( 3 − 12) . First four of these solutions are (1,1) ,( 1025,725) ,( 1182657,836265) ,( 1364784961,965048701) .

For (2,5) recurrence relations remain the same as in (93) with

mm12=11, = 12507 and nn12=8, = 8844 . This leads to another set of infinite

number of solutions (mnkk, ) of the equation nn(3−= 2) mm( 3 − 12) . First four of these solutions are (11,8) ,( 12507,8844) ,( 14432875,10205584) ,( 16655525051,11777234708) .

 To find all octagonal numbers which are also hexagonal numbers, we need to find integer solutions of the equation nn(32−=) mm( 2 − 1) . This equation can be written as Pell’s equation ba22−=6 10 (its fundamental solutions are (ab,) = ( 1,4) and (3,8) ), where bn=43( − 1) and am=41 − . For (3,8) corresponding to (22) the system is

mk+−1=98 mm kk −− 1 24, m 12 = 1, m = 77 (94) nk+−1=98 nn kk −− 1 32, n 12 = 1, n = 63

This system genetrates infinite number of solutions (mnkk, ) of the equation nn(32−=) mm( 2 − 1) . First few of these solutions are (1,1) ,( 77,63) ,( 7521,6141) ,( 736957,601723) ,( 72214241,58962681) .

With (ab,) = ( 1, 4 ) the system corresponding to (21) is

ak++2=−==10 a kk 1 aa , 12 1, a 13 (95) bk++2=−==10 b kk 1 bb , 12 4, b 32

Now note that a1 ≡ 1( mod 4) and a2 ≡ 1( mod 4) . Thus, from the first equa- tion of (95) mathemtical induction immediately gives

ak +2 ≡10( mod 4) −≡ 1( mod 4) 1( mod 4) for all k ≥ 1 . Next reducing the rela- tion am=41 − to (mod 4) gives a ≡−1( mod 4) . Hence, in view of b > 0 ,

we conclude that aa≠ k for all integers k, and therefore, the equation

DOI: 10.4236/jamp.2021.98132 2074 Journal of Applied Mathematics and Physics

R. P. Agarwal

nn(32−=) mm( 2 − 1) has no solution.  To find all octagonal numbers which are also generalized pentagonal numbers, we need to find integer solutions of the equation n(3 n−=+ 2) 13 mm( − 1) . This equation can be written as Pell’s equation ba22−=7 , where bn=23( − 1) and am=32( − 1) . For the equation ba22−=7 the only meaningful integer solution is ba=4, = 3 and it gives (mn,) = ( 1,1) .  To find all octagonal numbers which are also heptagonal numbers, we need to find integer solutions of the equation nn(3−= 2) mm( 5 − 32) . This equ- ation can be written as Pell’s equation ba22−=−30 39 (its fundamental solution is (ab,) =( 2, − 9) ), where bm=3( 10 − 3) and an=23( − 1) . For this, corresponding to (22) the system is

mk+−1=482 mm kk −−1 144, m 12 = 1, m = 345 (96) nk+−1=482 nn kk −−1 160, n 12 = 1, n = 315

This system genetrates infinite number of solutions (mnkk, ) of the equation nn(3−= 2) mm( 5 − 32) . First few of these solutions are (1,1) ,( 345,315) ,( 166145,151669) ,( 80081401,73103983) ,

(38599068993,35235967977) .

10. Nonagonal Numbers Nn

These numbers are defined by the sequence 1,9,24,46,75,111,154, , i.e., be- ginning with 9 each number is formed from the previous one in the sequence by adding the next number in the related sequence 8,15,22,29, ,( 7n − 6) . Thus, 9= 18 + , 24=++ 1 8 15 =+ 9 15 , 46=++ 1 8 15 + 22 = 24 + 22 , and so on (see Figure 14). Thus, n-th nonagonal number is defined as

NNnn=−1 +−=+++++−(7 n 6) 1 8 15 22 ( 7n 6) (97) =++++×+1( 1 7) ( 1 2 7)  ++( 1(n − 17.) )

Comparing (97) with (3), we have ad=1, = 7 , and hence from (4) it follows that n N=(7 n −=+ 5) tt 6.− (98) n2 nn1

 For all integers k ≥ 0 it follows that NN41kk++, 42 are odd, whereas

NN43kk++, 44 are even.

Figure 14. Nonagonal numbers.

DOI: 10.4236/jamp.2021.98132 2075 Journal of Applied Mathematics and Physics

R. P. Agarwal

 Let m be a given natural number, then it is n-th nonagonal number, i.e.,

mN= n if and only if nm=++(5 25 56) 14 .  From (10) and (98), we have xx(61+ ) =+++234 + 3 xx9 24 x 46 x (1− x)

−3 and hence xx(6+− 11)( x) is the generating function of all nonagonal num- bers.  In view of (15) and (98), we have n 1 ∑ Nk = nn( +−1)( 7 n 4.) (99) k =1 6

 The sum of reciprocals of all nonagonal numbers is ∞∞1 2 ∞14 2 ∑∑= = ∑− kk=11Nk = kk(75−−) k= 1 5755( k) n 25 =−5 Ψ− − 75 +γ (100) 25 7 ≈ 1.2433209262;

here, Ψ ( x) is the digamma function defined as the logarithmic derivative of the gamma function Γ( x) , i.e., Ψ=ΓΓ( x) ′( xx) ( ) , and γ = 0.5772156649 is the Euler-Mascheroni constant.  To find all square nonagonal numbers, we need to find integer solutions of the equation nn(7−= 52) m2 . This equation can be written as Pell’s equa- tion ba22−=14 25 (its fundamental solution are (ab,) = ( 2,9) and (6,23) ), where bn=14 − 5 and am= 2 . For (2,9) corresponding to (22) the system is

mk+−1=−==30 mm kk11 , m 1, m 2 33 (101) nk+−1=30 nn kk −− 1 10, n 12 = 1, n = 18

This system generates infinite number of solutions (mnkk, ) of the equation nn(7−= 52) m2 . First few of these solutions are (1,1) ,( 33,18) ,( 989,529) ,( 29637,15842) ,( 888121,474721) .

For (6,23) recurrence relations remain the same as in (101) with

mm12=3, = 91 and nn12=2, = 49 . This leads to another set of infinite number 2 of solutions (mnkk, ) of the equation nn(7−= 52) m. First few of these so- lutions are (3,2) ,( 91,49) ,( 2727,1458) ,( 81719,43681) ,( 2448843,1308962) .

 To find all nonagonal numbers which are also triangular numbers, we need to find integer solutions of the equation n(7 n−= 52) mm( + 12) . This equation can be written as Pell’s equation ba22−=7 18 (its fundamental solutions are (ab,) = ( 1,5) ,( 3,9) and (7,19) ), where bn=14 − 5 and am=21 + . For (3,9) corresponding to (22) the system is

DOI: 10.4236/jamp.2021.98132 2076 Journal of Applied Mathematics and Physics

R. P. Agarwal

mk+−1=16 mm kk −+ 1 7, m 12 = 1, m = 25 (102) nk+−1=16 nn kk −− 1 5, n 12 = 1, n = 10

This system generates infinite number of solutions (mnkk, ) of the equation n(7 n−= 52) mm( + 12) . First few of these solutions are (1,1) ,( 25,10) ,( 406,154) ,( 6478,2449) ,( 1032249,39025.)

For (1,5) and (7,19) there are no integer solutions.  There is no nonagonal number which is also a rectangular number, in fact, the equation n(7 n−= 52) mm( + 1) has no solutions.  To find all nonagonal numbers which are also pentagonal numbers, we need to find integer solutions of the equation nn(7−= 52) mm( 3 − 12) . This equation can be written as Pell’s equation ba22−=21 204 (its fundamental solutions are (ab,) = ( 5,27) and (125,573) ), where bn=3( 14 − 5) and am=61 − . For (5,27) corresponding to (22) the system is

mk+−1=12098 mmkk −−1 2016, m 12 = 1, m = 10981 (103) nk+−1+12098 nnkk −−1 4320, n 12 = 1, n = 7189

This system generates infinite number of solutions (mnkk, ) of the equation nn(7−= 52) mm( 3 − 12) . First four of these solutions are (1,1) ,( 10981,7189) ,( 132846121,86968201) ,

(1607172358861,1052141284189) . For (125,573) recurrence relations remain the same as in (103) with

mm12=21, = 252081 and nn12=14, = 165026 . This leads to another set of in-

finite number of solutions (mnkk, ) of the equation nn(3−= 2) mm( 3 − 12) . First four of these solutions are (21,14) ,( 252081,165026) ,( 3049673901,1996480214,)

(36894954600201,24153417459626) .  To find all nonagonal numbers which are also hexagonal numbers, we need to find integer solutions of the equation nn(7−= 52) mm( 2 − 1) . This equ- ation can be written as Pell’s equation ba22−=7 18 (its fundamental solu- tions are (ab,) = ( 1,5) ,( 3,9) and (7,19) ), where bn=14 − 5 and am=41 − . For (3,9) corresponding to (20) the system is

bk+1 =8 ba kk + 21

ak+1=+==8 a kk 3 bb , 11 9, a 3

This system gives first four integer solutions (mnkk, ) of the equation nn(7−= 52) mm( 2 − 1) rather easily, which appear as (1,1) ,( 13,10) ,( 51625,39025) ,( 822757,621946) . Now the following system ge-

nerates infinite number of solutions (mn21kk++, 21) , k≥ 2

m21k+=64514 m21 kk −− −− m 23 16128, mm1 == 1, 3 51625 (104) n21k+=64514 n21 kk −− −− n 23 23040, nn1 == 1, 3 39025

Similarly, the following system generates infinite number of solutions

(mn22kk,) , k≥ 2

DOI: 10.4236/jamp.2021.98132 2077 Journal of Applied Mathematics and Physics

R. P. Agarwal

m22k+−=64514 mm2kk −− 22 16128, m2 = 13, m 4 = 822757 (105) n22k+−=64514 nn2kk −− 22 23040, n2 = 10, n 4 = 621946

The first eight solutions (mnkk, ) are (1,1) ,( 13,10) ,( 51625,39025) ,( 822757,621946) , (3330519121,2517635809) ,( 53079328957,40124201194) ,

(214865110504441,162422756519761) , (3424359827493013,2588572715184730) .

With (ab,) = ( 1,5) and (7,19) there are no integer solutions of the re- quired equation.  To find all nonagonal numbers which are also generalized pentagonal num- bers, we need to find integer solutions of the equation n(7 n−=+− 52) 13 mm( 1) . This equation can be written as Pell’s equation ba22−=42 39 (its fundamental solutions are (ab,) = ( 1, 9 ) and (5,33) ), where bn=14 − 5 and am=21 − . For (1,9) , corresponding to (22) the system is

mk+−1=674 mm kk −−1 336, m 12 = 1, m = 403 (106) nk+−1=674 nn kk −−1 240, n 12 = 1, n =373

This system generates infinite number of solutions (mnkk, ) of the equation n(5 n−=+− 32) 13 mm( 1) . First few of these solutions are (1,1) ,( 403,373) ,( 271285,251161) ,( 182845351,169281901) ,

(123237494953,114095749873) .

For (5,33) recurrence relations remain the same as in (106) with

mm12=66, = 44148 and nn12=61, = 40873 . This leads to another set of infi-

nite number of solutions (mnkk, ) of the equation n(7 n−=+− 52) 13 mm( 1) . First four of these solutions are (66,61) ,( 44148,40873) ,( 29755350,27548101) ,( 20055061416,18567378961) .

 To find all nonagonal numbers which are also heptagonal numbers, we need to find integer solutions of the equation nn(7−= 52) mm( 5 − 32) . This equation can be written as Pell’s equation ba22−=35 310 (its fundamental solution is (ab,) = ( 7,45) ), where bn=5( 14 − 5) and am=10 − 3 . For this, corresponding to (22) the system is

mk+−1=142 mm kk −−1 42, m 12 = 1, m =104 (107) nk+−1=142 nn kk −−1 50, n 12 = 1, n =88

This system generates

infinite number of solutions (mnkk, ) of the equation nn(7−= 52) mm( 5 − 32) . First few of these solutions are (1,1) ,( 104,88) ,( 14725,12445) ,( 2090804,1767052) ,( 296879401,250908889) .

 To find all nonagonal numbers which are also octagonal numbers, we need to find integer solutions of the equation nn(7−= 52) mm( 3 − 2) . This equa-

DOI: 10.4236/jamp.2021.98132 2078 Journal of Applied Mathematics and Physics

R. P. Agarwal

tion can be written as Pell’s equation ba22−=42 57 (its fundamental solu- tion is (ab,) = ( 4, 27) ), where bn=3( 14 − 5) and am=23( − 1) . For this, corresponding to (22) the system is

mk+−1=674 mm kk −−1 224, m 12 = 1, m =459 (108) nk+−1=674 nn kk −−1 240, n 12 = 1, n =425

This system generates infinite number of solutions (mnkk, ) of the equation nn(7−= 52) mm( 3 − 2) . First few of these solutions are (1,1) ,( 459,425) ,( 309141,286209) ,( 208360351,192904201) ,

(140434567209,130017145025) .

11. Decagonal Numbers Dn

These numbers are defined by the sequence 1,10,27,52,85,126,175,, i.e., be- ginning with 10 each number is formed from the previous one in the sequence by adding the next number in the related sequence 9,17,25,33, ,( 8n − 7) . Thus, 10= 1 + 9 , 27=++ 1 9 17 = 10 + 17 , 52=++ 1 9 17 + 25 = 27 + 25 and so on (see Figure 15). Hence, n-th is defined as

DDnn=−1 +−=+++++−(8 n 7) 1 9 17 25 ( 8n 7) (109) =++++×+1( 1 8) ( 1 2 8)  ++( 1(n − 18.) )

Comparing (109) with (3), we have ad=1, = 8 , and hence from (4) it follows that n D=(86 n −=) nn(43 −=+) t 7. t− (110) n2 nn1

 For all integers k ≥ 0 it follows that D21k + are odd, whereas D2k are even.  Let m be a given natural number, then it is n-th decagonal number, i.e.,

mD= n if and only if nm=++(3 9 16) 8 .  From (10) and (110), we have xx(71+ ) =++++234 3 xx 10 27 x 52 x (1− x)

−3 and hence xx(7+− 11)( x) is the generating function of all decagonal num- bers.  In view of (15) and (110), we have

Figure 15. Decagonal numbers.

DOI: 10.4236/jamp.2021.98132 2079 Journal of Applied Mathematics and Physics

R. P. Agarwal

n 1 ∑ Dk = nn( +− 1)( 8 n 5.) (111) k =1 6

 To find the sum of the reciprocals of all decagonal numbers, as in (89) we be- gin with the series ∞ 1 fx( ) = ∑ x43k − k =1 kk(43− )

and following the same steps Downey [29] obtained ∞∞11π f (1) = ∑∑ = = + ln 2 ≈ 1.2167459562. (112) kk=11kk(43− ) = Dk 6

 To find all square decagonal numbers, we need to find integer solutions of the equation nn(43−=) m2 . This equation can be written as Pell’s equation ba22−=9 , where bn=83 − and am= 4 . For the equation ba22−=9 the only meaningful integer solution is ba=5, = 4 and it gives (mn,) = ( 1,1) .  To find all decagonal numbers which are also triangular numbers, we need to find integer solutions of the equation n(4 n−= 3) mm( + 12) . This equation can be written as Pell’s equation ba22−=27 (its fundamental solutions are (ab,) = ( 1, 3) and (3, 5) ), where bn=83 − and am=21 + . For (3, 5) corresponding to (22) the system is

m+−=34 mm −+ 16, m = 1, m =55 k1 kk 1 12 (113) nk+−1=34 nn kk −− 1 12, n 12 = 1, n =20

This system generates infinite number of solutions (mnkk, ) of the equation n(4 n−= 3) mm( + 12) . First few of these solutions are (1,1) ,( 55,20) ,( 1885,667) ,( 64051,22646) ,( 2175865,769285) .

For (1, 3) recurrence relations remain the same as in (113) with

mm12=4, = 154 and nn12=2, = 55 . This leads to another set of infinite num-

ber of solutions (mnkk, ) of the equation n(4 n−= 3) mm( + 12) . First few of these solutions are (4,2) ,( 154,55) ,( 5248,1856) ,( 178294,63037) ,( 6056764,2141390) .

 There is no decagonal number which is also a rectangular number, in fact, the equation n(43 n−=) mm( + 1) has no solutions.  To find all decagonal numbers which are also pentagonal numbers, we need to find integer solutions of the equation nn(4−= 3) mm( 3 − 12) . This equ- ation can be written as Pell’s equation ba22−=6 75 (its fundamental solu- tion is (ab,) = ( 5,15) ), where bn=38( − 3) and am=61 − . For (5,15) corresponding to (22) the system is

m+−=98 mm −− 16, m = 1, m =91 k1 kk 1 12 (114) nk+−1=98 nn kk −− 1 36, n 12 = 1, n =56

This system generates infinite number of solutions (mnkk, ) of the equation nn(4−= 3) mm( 3 − 12) . First few of these solutions are (1,1) ,( 91,56) ,( 8901,5451) ,( 872191,534106) ,( 85465801,52336901) .

DOI: 10.4236/jamp.2021.98132 2080 Journal of Applied Mathematics and Physics

R. P. Agarwal

 To find all decagonal numbers which are also hexagonal numbers, we need to find integer solutions of the equation nn(43−=) mm( 2 − 1) . This equation can be written as Pell’s equation ba22−=27 (its fundamental solution is (ab,) = ( 3, 5) ), where bn=83 − and am=41 − . For this, corresponding to (22) the system is

m+−=34 mm −− 8, m = 1, m = 28 k1 kk 1 12 (115) nk+−1=34 nn kk −− 1 12, n 12 = 1, n = 20

This system generates infinite number of solutions (mnkk, ) of the equation nn(43−=) mm( 2 − 1) . First few of these solutions are (1,1) ,( 28,20) ,( 943,667) ,( 32026,22646) ,( 1087933,769285) .

 To find all decagonal numbers which are also generalized pentagonal num- bers, we need to find integer solutions of the equation n(4 n−=+ 3) 13 mm( − 1) . This equation can be written as Pell’s equation ba22−=12 13 (its fundamental solution is (ab,) = ( 1, 5 ) ), where bn=83 − and am=21 − . For this, corresponding to (22) the system is

m+−=194 mm −− 96, m = 1, m = 119 k1 kk1 12 (116) nk+−1=194 nn kk −−1 72, n 12 = 1, n = 103

This system generates infinite number of solutions (mnkk, ) of the equation n(4 n−=+ 3) 13 mm( − 1) . First few of these solutions are (1,1) ,( 119,103) ,( 22989,19909) ,( 4459651,3862171) ,

(865149209,749241193) .

 To find all decagonal numbers which are also heptagonal numbers, we need to find integer solutions of the equation nn(4−= 3) mm( 5 − 32) . This equ- ation can be written as Pell’s equation ba22−=10 540 (its fundamental so- lution is (ab,) = ( 14,50) ), where bn=10( 8 − 3) and am=2( 10 − 3) . For this, corresponding to (22) the system is

m+−=1442 mm −− 432, m = 1, m = 1075 k1 kk1 12 (117) nk+−1=1442 nn kk −−1 540, n 12 = 1, n = 850

This system generates infinite number of solutions (mnkk, ) of the equation nn(4−= 3) mm( 5 − 32) . First few of these solutions are (1,1) ,( 1075,850) ,( 1549717,1225159) ,( 2234690407,1766677888) ,

(3222422016745,2547548288797) .

 To find all decagonal numbers which are also octagonal numbers, we need to find integer solutions of the equation nn(43−=) mm( 3 − 2) . This equation can be written as Pell’s equation ba22−=3 33 (its fundamental solution is (ab,) = ( 8,15) ), where bn=38( − 3) and am=43( − 1) . For this, corres- ponding to (22) the system is

m+−=194 mm −− 64, m = 1, m = 135 k1 kk1 12 (118) nk+−1=194 nn kk −−1 72, n 12 = 1, n = 117

This system generates infinite number of solutions (mnkk, ) of the equation

DOI: 10.4236/jamp.2021.98132 2081 Journal of Applied Mathematics and Physics

R. P. Agarwal

nn(43−=) mm( 3 − 2) . First few of these solutions are (1,1) ,( 135,117) ,( 26125,22625) ,( 5068051,4389061) ,

(983175705,851455137) .

 To find all decagonal numbers which are also nonagonal numbers, we need to find integer solutions of the equation nn(4−= 3) mm( 7 − 52) . This equ- ation can be written as Pell’s equation ba22−=14 91 (its fundamental solu- tion is (ab,) = ( 9,35) ), where bn=78( − 3) and am=14 − 5 . For this, corresponding to (22) the system is

m+−=898 mm −− 320, m = 1, m = 589 k1 kk1 12 (119) nk+−1=898 nn kk −−1 336, n 12 = 1, n = 551

This system generates infinite number of solutions (mnkk, ) of the equation nn(4−= 3) mm( 7 − 52) . First few of these solutions are (1,1) ,( 589,551) ,( 528601,494461) ,( 474682789,444025091) ,

(426264615601,398734036921) .

12. Tetrakaidecagonal Numbers (TET)n

These numbers are defined by the sequence 1,14,39,76,125,, i.e., beginning with 14 each number is formed from the previous one in the sequence by adding the next number in the related sequence 13,25,37,49, ,( 12n − 11) . Thus, 14= 1 + 13 , 39=++ 1 13 25 =+ 14 25 , 76=+++ 1 13 25 37 = 39 + 37 , and so on (see Figure 16). Hence, n-th tetrakaidecagonal number is defined as

(TET) =( TET) − +(12 n − 11) =+++++ 1 13 25 37 ( 12n − 11) nn1 (120) =++1( 1 12) ++×( 1 2 12) + ++( 1(n − 1) 12) .

Comparing (120) with (3), we have ad=1, = 12 , and hence from (4) it fol- lows that n (TET) =(12 n − 10) = n( 6 n −=+ 5) t11 t − . (121) n 2 nn1  ≥ For all integers k 0 it follows that (TET )21k + are odd, whereas (TET )2k are even.  Let m be a given natural number, then it is n-th tetrakaidecagonal number, = =++ i.e., m( TET )n if and only if nm(5 25 24) 12 .

Figure 16. Tetrakaidecagonal numbers.

DOI: 10.4236/jamp.2021.98132 2082 Journal of Applied Mathematics and Physics

R. P. Agarwal

 From (10) and (121), we have xx(11+ 1) =++++234 3 xx 14 39 x 76 x (1− x)

−3 and hence xx(11+− 1)( 1 x) is the generating function of all tetrakaidecagonal numbers.  In view of (15) and (121), we have n 1 =+− ∑(TET)k n( n 1)( 4 n 3.) (122) k =1 2

 To find the sum of the reciprocals of all tetrakaidecagonal numbers, as in (89) we begin with the series ∞ 1 fx( ) = ∑ x65k − k =1 kk(65− )

and following the same steps Downey [29] obtained ∞∞1 11 f (1) = ∑∑= =4ln 2 + 3ln 3+ 3π − ( ) kk=11k(6 k 5) = ( TET )k 10 (123) ≈ 1.1509823681.  To find all square tetrakaidecagonal numbers, we need to find integer solu- tions of the equation nn(65−=) m2 . This equation can be written as Pell’s equation ba22−=6 25 (its fundamental solution are (ab,) = ( 2,7) and (4,11) ), where bn=12 − 5 and am= 2 . For (2,7) corresponding to (22) the system is

m+−=−==98 mm , m 1, m 119 k1 kk11 2 (124) nk+−1=98 nn kk −− 1 40, n 12 = 1, n = 49

This system generates infinite number of solutions (mnkk, ) of the equation nn(65−=) m2 . First few of these solutions are (1,1) ,( 119,49) ,( 11661,4761) ,( 1142659,466489) ,( 111968921,45711121) .

For (4,11) recurrence relations remain the same as in (124) with

mm12=21, = 2059 and nn12=2, = 841 . This leads to another set of infinite 2 number of solutions (mnkk, ) of the equation nn(65−=) m. First few of these solutions are (21,9) ,( 2059,841) ,( 201761,82369) ,( 19770519,8071281) ,

(1937309101,790903129) .

 To find all tetrakaidecagonal numbers which are also triangular numbers, we need to find integer solutions of the equation n(6 n−= 5) mm( + 12) . This equation can be written as Pell’s equation ba22−=3 22 (its fundamental solutions are (ab,) = ( 1, 5 ) and (3,7) ), where bn=12 − 5 and am=21 + . For (3,7) corresponding to (22) the system is

m+−=194 mm −+ 96, m = 1, m = 341 k1 kk1 12 (125) nk+−1=194 nn kk −−1 80, n 12 = 1, n =99

DOI: 10.4236/jamp.2021.98132 2083 Journal of Applied Mathematics and Physics

R. P. Agarwal

This system generates infinite number of solutions (mnkk, ) of the equation n(6 n−= 5) mm( + 12) . First few of these solutions are (1,1) ,( 341,99) ,( 66249,19125) ,( 12852061,3710071) ,

(2493233681,719734569) . For (1,5) recurrence relations remain the same as in (125) with

mm12=50, = 9798 and nn12=15, = 2829 . This leads to another set of infinite 2 number of solutions (mnkk, ) of the equation nn(65−=) m. First few of these solutions are (50,15) ,( 9798,2829) ,( 1900858,548731) ,

(368756750,106450905) ,( 71536908738,20650926759) .  There is no tetrakaidecagonal number which is also a rectangular number, in fact, the equation n(65 n−=) mm( + 1) has no solutions.  To find all tetrakaidecagonal numbers which are also pentagonal numbers, we need to find integer solutions of the equation nn(6−= 5) mm( 3 − 12) . This equation can be written as Pell’s equation ba22−=24 , where bn=12 − 5 and am=61 − . For the equation ba22−=24 the only meaningful integer solution is ba=7, = 5 and it gives (mn,) = ( 1,1) .  To find all tetrakaidecagonal numbers which are also hexagonal numbers, we need to find integer solutions of the equation nn(65−=) mm( 2 − 1) . This equation can be written as Pell’s equation ba22−=3 22 (its fundamental solutions are (ab,) = ( 1, 5 ) and (3, 7) ), where bn=12 − 5 and am=41 − . For (3, 7) corresponding to (22) the system is

m+−=194 mm −− 48, m = 1, m = 171 k1 kk1 12 (126) nk+−1=194 nn kk −−1 80, n 12 = 1, n =99

This system generates infinite number of solutions (mnkk, ) of the equation nn(65−=) mm( 2 − 1) . First few of these solutions are (1,1) ,( 171,99) ,( 33125,19125) ,( 6426031,3710071) ,

(1246616841,719734569) . With (ab,) = ( 1, 5 ) there are no integer solutions of the required equation.  To find all tetrakaidecagonal numbers which are also generalized pentagonal numbers, we need to find integer solutions of the equation n(6 n−=+ 5) 13 mm( − 1) . This equation can be written as Pell’s equation ba22−=18 31 (its fundamental solutions are (ab,) = ( 1, 7 ) and (11,47) ), where bn=12 − 5 and am=21 − . For (1, 7 ) , corresponding to (22) the system is

m+−=1154 mm −− 576, m = 1, m =765 k1 kk1 12 (127) nk+−1=1154 nn kk −−1 480, n 12 = 1, n =541

This system generates infinite number of solutions (mnkk, ) of the equation n(6 n−=+ 5) 13 mm( − 1) . First few of these solutions are (1,1) ,( 765,541) ,( 882233,623833) ,( 1018095541,719902261) ,

(1174881371505,830766584881) .

DOI: 10.4236/jamp.2021.98132 2084 Journal of Applied Mathematics and Physics

R. P. Agarwal

For (11,47) recurrence relations remain the same as in (127) with

mm12=188, = 216376 and nn12=133, = 151001. This leads to another set of

infinite number of solutions (mnkk, ) of the equation n(6 n−=+ 5) 13 mm( − 1) . First four of these solutions are (188,133) ,( 216376,153001) ,( 249697140,176562541,)

(288150282608,203753018833) .

 To find all tetrakaidecagonal numbers which are also heptagonal numbers, we need to find integer solutions of the equation nn(6−= 5) mm( 5 − 32) . This equation can be written as Pell’s equation ba22−=15 490 (its funda- mental solutions are (ab,) = ( 3, 25) and (7,35) ), where bn=5( 12 − 5) and am=10 − 3 . For (7,35), corresponding to (22) the system is

m+−=3842 mm −− 1152, m = 1, m =3081 k1 kk1 12 (128) nk+−1=3842 nn kk −−1 1600, n 12 = 1, n =1989

This system generates infinite number of solutions (mnkk, ) of the equation nn(6−= 5) mm( 5 − 32) . First few of these solutions are (1,1) ,( 3081,1989) ,( 11836049,7640137) ,( 45474096025,29353402765) ,

(174711465090849,112775765781393) .

With (ab,) = ( 3, 25) there are no integer solutions of the required equation.  To find all tetrakaidecagonal numbers which are also octagonal numbers, we need to find integer solutions of the equation nn(65−=) mm( 3 − 2) . This equation can be written as Pell’s equation ba22−=2 17 (its fundamental solutions are (ab,) = ( 2,5) and (4,7) ), where bn=12 − 5 and am=62 − . For (4,7), corresponding to (22) the system is

m+−=1154 mm −− 384, m = 1, m =861 k1 kk1 12 (129) nk+−1=1154 nn kk −−1 480, n 12 = 1, n =609

This system generates infinite number of solutions (mnkk, ) of the equation nn(65−=) mm( 3 − 2) . First few of these solutions are (1,1) ,( 861,609) ,( 993209,702305) ,( 1146161941,810458881) ,

(1322669886321,935268845889) .

With (ab,) = ( 2,5) there are no integer solutions of the required equation.  To find all tetrakaidecagonal numbers which are also nonagonal numbers, we need to find integer solutions of the equation nn(6−= 5) mm( 7 − 52) . This equation can be written as Pell’s equation ba22−=21 700 (its fundamental solutions are (ab,) = ( 2,28) ,( 5,35) and (9,49) ), where bn=7( 12 − 5) and am=14 − 5 . For (9,49), corresponding to (22) the system is

m+−=12098 mm −− 4320, m = 1, m = 8509 k1 kk1 12 (130) nk+−1=12098 nnkk −−1 5040, n 12 = 1, n = 6499

This system generates infinite number of solutions (mnkk, ) of the equation nn(6−= 5) mm( 7 − 52) . First four of these solutions are

DOI: 10.4236/jamp.2021.98132 2085 Journal of Applied Mathematics and Physics

R. P. Agarwal

(1,1) ,( 8509,6499) ,( 102937561,78619861) ,( 1245338600149,951143066839) .

With (ab,) = ( 2, 28) and (5,35) there are no integer solutions of the re- quired equation.  To find all tetrakaidecagonal numbers which are also decagonal numbers, we need to find integer solutions of the equation nn(65−=) mm( 4 − 3) . This equation can be written as Pell’s equation ba22−=6 46 (its fundamental solutions are (ab,) = ( 3,10) and (5,14) ), where bn=2( 12 − 5) and am=83 − . For (5,14), corresponding to (22) the system is

m+−=98 mm −− 36, m = 1, m = 66 k1 kk 1 12 (131) nk+−1=98 nn kk −− 1 40, n 12 = 1, n = 54

This system generates infinite number of solutions (mnkk, ) of the equation nn(65−=) mm( 4 − 3) . First few of these solutions are (1,1) ,( 66,54) ,( 6431,5251) ,( 630136,514504) ,( 61746861,50416101) .

With (ab,) = ( 3,10) there are no integer solutions of the required equation.

13. Centered Triangular Numbers (ct)n

These numbers are defined by the sequence 1,4,10,19,31,46,64,85,109, , i.e., beginning with 4 each number is formed from the previous one in the sequence by adding the next number in the related sequence 3,6,9,12, ,3(n − 1) . Thus, 4= 13 + , 10=++=+ 1 3 6 4 6 , 19=+++= 1 3 6 9 10 + 9 , and so on (see Figure 17). Hence, n-th centered triangular number is defined as

(ct) =( ct) − +3( n − 1) =++++ 1369 +( 3n − 3) nn1 (132) =+1 31( +++ 2 3 +(n − 1)) .

Thus, from (2) it follows that (nn−1) (ct) =+13 =+=++ 13t− t t −− t . (133) n 2 n1 nn 12 n  Let m be a given natural number, then it is n-th centered triangular number, m= ct =++ − i.e., ( )n if and only if nm(3 9 24( 1) ) 6 .  From (10) and (133), we have

Figure 17. Centered triangular numbers.

DOI: 10.4236/jamp.2021.98132 2086 Journal of Applied Mathematics and Physics

R. P. Agarwal

xx( 2 ++ x 1) =++234 + + 3 xx4 10 x 19 x (1− x)

2 −3 and hence xx( ++ x11)( − x) is the generating function of all centered tri- angular numbers. In view of (15) and (133), we have n 1 =2 + ∑(ct)k n( n 1.) (134) k =1 2

 To find the sum of the reciprocals of all centered triangular numbers we fol- low as in (71), to obtain ∞ 12ππ 5 ∑ = tanh ≈ 1.5670651313. (135) k =1 (ct)k 15 23

14. Centered Square Numbers (cS)n

These numbers are defined by the sequence 1,5,13,25,41,61,85,113, , i.e., beginning with 5 each number is formed from the previous one in the sequence by adding the next number in the related sequence 4,8,12,16, ,4(n − 1) . Thus, 514= + , 13=++=+ 1 4 8 5 8 , 25=+++ 1 4 8 12 = 13 + 12 , and so on (see Fig- ure 18). Hence, n-th centered square number is defined as

(cS) =( cS) − +4( n − 1) =+++ 1 4 8 12 + +( 4n − 4) nn1 (136) =+14123( +++ +(n − 1.))

Thus, from (2) it follows that

(nn−1) 222 (cS ) =+14 =+ 14t− =+− 12 n 2 n = n +−( n 1) n 2 n 1 (137)

=+=++SSnn−1 t n2. t n −− 12 t n  Let m be a given natural number, then it is n-th centered square number, i.e., = nm=+−1 2 12 m( cS )n if and only if ( ) .  From (10) and (137), we have

Figure 18. Centered square numbers.

DOI: 10.4236/jamp.2021.98132 2087 Journal of Applied Mathematics and Physics

R. P. Agarwal

2 xx( +1) =+++23 4 + 3 xx5 13 x 25 x (1− x)

23− and hence xx( +−11) ( x) is the generating function of all centered square numbers.  In view of (15) and (137), we have n 1 =2 + ∑(cS)k n(2 n 1.) (138) k =1 3

 To find the sum of the reciprocals of all centered triangular numbers we fol- low as in (71), to obtain ∞ 1 ππ ∑ =tanh ≈ 1.44065952. (139) k =1 (cS )k 22 

15. Centered Pentagonal Numbers (cP)n

These numbers are defined by the sequence 1,6,16,31,51,76,106,141,181, , i.e., beginning with 6 each number is formed from the previous one in the se- quence by adding the next number in the related sequence 5,10,15,20, ,5(n − 1) . Thus, 6= 15 + , 16=++ 1 5 10 =+ 6 10 , 31=++ 1 5 10 + 15 = 16 + 15 , and so on (see Figure 19). Hence, n-th centered pentagonal number is defined as

(cP) =( cP) − +5( n − 1) =++ 1 5 10 + 15 + +( 5n − 5) nn1 (140) =+1 51( +++ 2 3 +(n − 1)) .

Thus, from (2) it follows that (nn−1) (cP) =+15 =+=++ 15t− t 3 t −− t . (141) n 2 n1 nn 12 n  Let m be a given natural number, then it is n-th centered pentagonal number, m= cP =++− i.e., ( )n if and only if nm(5 25 40( 1) ) 10 .  From (10) and (141), we have xx( 2 ++31 x ) =+++234 + 3 xx6 16 x 31 x (1− x)

Figure 19. Centered pentagonal numbers.

DOI: 10.4236/jamp.2021.98132 2088 Journal of Applied Mathematics and Physics

R. P. Agarwal

2 −3 and hence xx( ++3 x 11)( − x) is the generating function of all centered pentagonal numbers.  In view of (15) and (141), we have n 1 =2 + ∑(cP)k n(5 n 1.) (142) k =1 6

 To find the sum of the reciprocals of all centered pentagonal numbers we follow as in (71), to obtain ∞ 12ππ 3 ∑ = tanh ≈ 1.36061317. (143) k =1 (cP)k 15 25

16. Centered Heptagonal Numbers (cHEP)n

These numbers are defined by the sequence 1,8,22,43,71,106,148,197,253, , i.e., beginning with 8 each number is formed from the previous one in the se- quence by adding the next number in the related sequence 7,14,21,28, ,7(n − 1) . Thus, 817= + , 22=++ 1 7 14 =+ 8 14 , 43=++ 1 7 14 + 21 = 22 + 21 , and so on (see Figure 20). Hence, n-th centered heptagonal number is defined as

(cHEP) =( cHEP) − +7( n − 1) =++ 1 7 14 + 21 + +( 7n − 7) nn1 (144) =+1 71( +++ 2 3 +(n − 1)) .

Thus, from (2) it follows that (nn−1) (cHEP) =+17 =+=++ 17t− t 5 t −− t . (145) n 2 n1 nn 12 n  Let m be a given natural number, then it is n-th centered heptagonal number, m= cHEP =++− i.e., ( )n if and only if nm(7 49 56( 1) ) 14 .  From (10) and (145), we have xx( 2 ++51 x ) =+++234 + 3 xx 8 22 x 43 x (1− x)

2 −3 and hence xx( ++5 x 11)( − x) is the generating function of all centered heptagonal numbers.

Figure 20. Centered heptagonal numbers.

DOI: 10.4236/jamp.2021.98132 2089 Journal of Applied Mathematics and Physics

R. P. Agarwal

 In view of (15) and (145), we have n 1 =2 − ∑(cHEP)k n( 7 n 1.) (146) k =1 6

 To find the sum of the reciprocals of all centered heptagonal numbers we follow as in (71), to obtain ∞ 12π π ∑ = tanh ≈ 1.264723172. (147) k =1 (cHEP)k 7 27

17. Centered Octagonal Numbers (cO)n

These numbers are defined by the sequence 1,9,25,49,81,121,169,225,289,361,, i.e., beginning with 9 each number is formed from the previous one in the sequence by adding the next number in the related sequence 8,16,24,32, ,8(n − 1) . Thus, 9= 18 + , 25=++ 1 8 14 =+ 9 16 , 49=++ 1 8 16 + 24 = 25 + 24 , and so on (see Figure 21). Hence, n-th centered octagonal number is defined as

(cO) =( cO) − +8( n − 1) =++ 1 8 16 + 24 + +( 8n − 8) nn1 (148) =+1 81( +++ 2 3 +(n − 1)) .

Thus, from (2) it follows that

(nn−1) 2 (cO) =+18 =+= 18t−( 2 n −= 1) S− =+ t6 t −− + t . (149) n 2 n1 21n nn1 n 2 Hence, the centered octagonal numbers are the same as the odd square num- bers.  Let m be a given natural number, then it is n-th centered octagonal number, = = + i.e., m( cO)n if and only if nm(12) .  From (10) and (149), we have xx( 2 ++61 x ) =+++234 + 3 xx9 25 x 49 x (1− x)

2 −3 and hence xx( ++6 x 11)( − x) is the generating function of all centered oc- tagonal numbers.

Figure 21. Centered octagonal numbers.

DOI: 10.4236/jamp.2021.98132 2090 Journal of Applied Mathematics and Physics

R. P. Agarwal

 In view of (15) and (149), we have n 1 =2 − ∑(cO)k n(4 n 1.) (150) k =1 3

 To find the sum of the reciprocals of all centered octagonal numbers we use (39), to obtain ∞1 ∞ 1 ∞∞ 11 1 π2 = =−=≈ ∑ ∑22 ∑∑ 2 1.2337005501. (151) k=1(cO)k k= 1(21k − ) kk= 11kk48=

18. Centered Nonagonal Numbers (cN)n

These numbers are defined by the sequence 1,10,28,55,91,136,190,253,325, , i.e., beginning with 10 each number is formed from the previous one in the se- quence by adding the next number in the related sequence 9,18,27,36, ,9(n − 1) . Thus, 10= 1 + 9 , 28=++ 1 9 18 = 10 + 18 , 55=++ 1 9 18 + 27 = 28 + 27 , and so on (see Figure 22). Hence, n-th centered nonagonal number is defined as

(cN) =( cN) − +−=+++++−9( n 1) 1 9 18 27 9(n 1) nn1 (152) =+1 91( +++ 2 3 +(n − 1)) .

Thus, from (2) it follows that (nn−1) (3 n−− 23)( n 1) (cN ) =+19 =+= 19t − n 22n 1 (153)

==++t32n− ttt nn7. −−1 n 2  In 1850, Frederick Pollock (1783-1870, England) conjectured that every nat- ural number is the sum of at most eleven centered nonagonal numbers, which has not been proved.  Let m be a given natural number, then it is n-th centered nonagonal number, m= cN =++− i.e., ( )n if and only if nm(9 81 72( 1) ) 18 .  From (10) and (153), we have xx( 2 ++71 x ) =++++234 3 xx10 28 x 55 x (1− x)

Figure 22. Centered nonagonal numbers.

DOI: 10.4236/jamp.2021.98132 2091 Journal of Applied Mathematics and Physics

R. P. Agarwal

2 −3 and hence xx( ++7 x 11)( − x) is the generating function of all centered nonagonal numbers.  In view of (15) and (153), we have n 1 =2 − ∑(cN)k n(3 n 1.) (154) k =1 2

 To find the sum of the reciprocals of all centered heptagonal numbers we follow as in (71), to obtain ∞ 1 2ππ 23 π ∑ =tan  = ≈ 1.2091995762. (155) k =1 (cN )k 369

19. Centered Decagonal Numbers (cD)n

These numbers are defined by the sequence 1,11,31,61,101,151,211,281,, i.e., beginning with 11 each number is formed from the previous one in the se- quence by adding the next number in the related sequence 10,20,30,40, ,10(n − 1) . Thus, 11= 1 + 10 , 31=++=+ 1 10 20 11 20 , 61=+++ 1 10 20 30 =+ 31 30 , and so on (see Figure 23). Hence, n-th centered decagonal number is defined as

(cD) =( cD) − +−=+++++−10( n 1) 1 10 20 30 10(n 1) nn1 (156) =+1 10( 1 +++ 2 3 +(n − 1)) .

Thus, from (2) it follows that

(nn−1) 2 (cD) =+1 10 =+ 1 10t− = 5 n − 5 n += 1 t + 8 t−− + t . (157) n 2 n1 nn12 n  For each (cD)n the last digit is 1.  Let m be a given natural number, then it is n-th centered decagonal number, m= cD =++− i.e., ( )n if and only if nm(5 25 20( 1) ) 10 .  From (10) and (157), we have xx( 2 ++81 x ) =++++234 3 xx11 31 x 61 x (1− x)

Figure 23. Centered decagonal numbers.

DOI: 10.4236/jamp.2021.98132 2092 Journal of Applied Mathematics and Physics

R. P. Agarwal

2 −3 and hence xx( ++8 x 11)( − x) is the generating function of all centered de- cagonal numbers.  In view of (15) and (157), we have n 1 =2 − ∑(cD)k n(5 n 2.) (158) k =1 3

 To find the sum of the reciprocals of all centered heptagonal numbers we follow as in (71), to obtain ∞ 1 ππ ∑ = tan≈ 1.189356247. (159) k =1 (cD)k 5 25

20. Star Numbers (ST)n

These numbers are defined by the sequence 1,13,37,73,121,181,253,337, , i.e., beginning with 13 each number is formed from the previous one in the se- quence by adding the next number in the related sequence 12,24,36,48, ,12(n − 1) . Thus, 13= 1 + 12 , 37=++=+ 1 12 24 13 24 , 73=+++ 1 12 24 36 = 37 + 36 , and so on (see Figure 24). Hence, n-th is defined as

(ST) =( ST) − +−=+++++−12( n 1) 1 12 24 36 12(n 1) nn1 (160) =+1 12( 1 +++ 2 3 +(n − 1)) .

Thus, from (2) it follows that

(nn−1) 2 (ST ) =+1 12 =+ 1 12t− = 6 n − 6 n += 1 t + 10 t−− + t . (161) n 2 n1 n nn12  = All star numbers are odd. The star number (ST )77 35113 is unique, since its prime factors 13, 37, 73 are also consecutive star numbers. There are infi- nite number of star numbers which are also triangular numbers, also square numbers.  = Let m be a given natural number, then it is n-th star number, i.e., m( ST )n if and only if nm=++(3 96( − 1) ) 6.

Figure 24. Star number (ST)3.

DOI: 10.4236/jamp.2021.98132 2093 Journal of Applied Mathematics and Physics

R. P. Agarwal

 From (10) and (161), we have xx( 2 ++10 x 1) =++++234 3 xx13 37 x 73 x (1− x)

2 −3 and hence xx( ++−10 x 1)( 1 x) is the generating function of all star num- bers.  In view of (15) and (161), we have n =2 − ∑(ST)k n(2 n 1.) (162) k =1  To find the sum of the reciprocals of all star numbers we follow as in (71), to obtain ∞ 1 ππ ∑ = tan≈ 1.15917332. (163) k =1 (ST )k 23 23

21. Centered Tetrakaidecagonal Numbers (cTET)n

These numbers are defined by the sequence 1,15,43,85,141,, i.e., beginning with 15 each number is formed from the previous one in the sequence by adding the next number in the related sequence 14,28,42,56, ,14(n − 1) . Thus, 15= 1 + 14 , 43=++=+ 1 14 28 15 28 , 85=+++ 1 14 28 42 = 43 + 42 , and so on (see Figure 25). Hence, n-th centered tetrakaidecagonal number is defined as

(cTET) =( cTET) − +−=+++++−14( n 1) 1 14 28 42 14(n 1) nn1 (164) =+1 14( 1 +++ 2 3 +(n − 1)) . Thus, from (2) it follows that

(nn−1) 2 (cTET ) =+1 14 =+ 1 14t− = 7 n − 7 n += 1 t + 12 t−− + t . (165) n 2 n1 n nn12  Each (cTET )n is odd.  Let m be a given natural number, then it is n-th centered tetrakaidecagonal m= cTET =++− number, i.e., ( )n if and only if nm(7 49 28( 1) ) 14 .  From (10) and (165), we have

Figure 25. Centered tetrakaidecagonal numbers.

DOI: 10.4236/jamp.2021.98132 2094 Journal of Applied Mathematics and Physics

R. P. Agarwal

xx( 2 ++12 x 1) =++++234 3 xx15 43 x 85 x (1− x)

2 −3 and hence xx( ++−12 x 1)( 1 x) is the generating function of all centered te- trakaidecagonal numbers.  In view of (15) and (165), we have n 1 =2 − ∑(cTET)k n(7 n 4.) (166) k =1 3

 To find the sum of the reciprocals of all centered tetrakaidecagonal numbers we follow as in (71), to obtain ∞ 13ππ ∑ = tan ≈ 1.1372969963. (167) k =1 (cTET )k 21 27

22. Cubic Numbers Cn

A cubic number can be written as a product of three equal factors of natural numbers. Thus, 1,8,27,64, ,n3 are first few cubic numbers (see Figure 26).  Last digit of a number is the same as the last digit of its cube, except that 2 becomes 8 (and 8 becomes 2) and 3 becomes 7 (and 7 becomes 3).  Nicomachus considered the following infinite triangle of odd numbers. It is clear that the sum of the numbers in the nth row is n3. 1 13 3 5 23 7 9 11 33 13 15 17 19 43 21 23 25 27 29 53 31 33 35 37 39 41 63 43 45 47 49 51 53 55 73 57 59 61 63 65 67 69 71 83 73 75 77 79 81 83 85 87 89 93 91 93 95 97 99 101 103 105 107 109 103 ⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅ ⋅ ⋅

Figure 26. Cubic numbers.

DOI: 10.4236/jamp.2021.98132 2095 Journal of Applied Mathematics and Physics

R. P. Agarwal

In the literature often the above representation is referred to as Pascal’s trian- gle. Now noting that numbers in each row are odd, so the general term in view of (31) can be written as

kk( −++11)  kk( −+ 13)  + kk( −+ 15)  + + kk( −+ 1) ( 2 k − 1) 322 3 =×k kk( −1) + 135 +++ +( 2k − 1) = k − k + k = k.

Taking successively kn= 1, 2, 3, , in the above relation, adding these n eq- uations, and observing that nn( −+1) ( 2 n −= 1) 2 nn( + 121) −, we find

nn( +1) 333 3 1357911+++++++ 2 −=++++ 1 1 2 3n , 2

i.e., the number of terms in the left side are nn( +12) . Now again from (31) we 2 find that the left hand side is the same as nn( +12) , and hence it follows that 2 333 3nn( +1) 1114322 123++++ n = =n + n + nt =n , (168) 2 424

i.e., a perfect square number. This identity is sometimes called Nicomachus’s theorem.  From (69), the relation (168) follows immediately. In fact, we have

nn 3 22 2 ∑∑k=( ttkk −=−1 ) t n. kk=11 =

 The generating function for all cubic numbers is xx( 2 ++41 x ) =+++23 4 xx8 27 x . (1− x)

2 22  From the relations (k+−=+1) kk2 21 and (kk+1) −−( 14) = k it fol- lows that all odd and multiple of 4 integers can be expressed as the difference of two squares. However, 42k + cannot be expressed as the difference of two squares. Indeed, if a22−=+ b( abab)( −=) 42 k +, then letting x=+=− a by, a b gives a=+=−( xy) 2 , b( xy) 2 , which implies that both x and y must be of the same parity. If both x and y are odd (even) then xy is odd (multiple of 4), hence in either case we have a contradiction. Now since cube of any odd (even) integer is odd (multiple of 4), we can conclude that every cube is a difference of two squares. Clearly, in the conclusion cube can be replaced by any power greater than 3. For example, 33= 14 22 − 13 , 43= 17 22 − 15 , 57= 39063 22 − 39062 .  There are infinite number of square cubic numbers, in fact, 32 (k23) =( kk) , = 1, 2,.  The well known after George Friedrich Bernhard Riemann (1826-1866, Germany) is defined as 11 ζσ(s) =+++1 , s =+ it . 23ss

DOI: 10.4236/jamp.2021.98132 2096 Journal of Applied Mathematics and Physics

R. P. Agarwal

In 1979, Roger Apéry (1916-1994, Greek-French) published an unexpected proof of the irrationality of ζ (3) . In the literature ζ (3) is known as Apéry constant. In July 2020, Seungmin Kim (Korea) has computed the value of ζ (3) to one two hundred and one hundred places.  Related with cubic numbers there are centered cubic numbers 3 cC= n32 + n −1 = 21 n − n −+ n 1 ( )n ( ) ( )( ) . Thus, (cC)n is the count of number of points in a body-centered cubic pattern within a cube that has n +1 points along each of its edges. First few centered cubic numbers are 1, 9, 35, 91, 189, 341. Clearly, no centered cubic number is prime. Further, the only centered cube number that is also a square number is 9. The generating function for all centered cube numbers is xx( 32+5 x ++ 51 x ) =+++234 + 4 xx 9 35 x 91 x . (1− x)

From (168) it follows that n 1 =22 + ∑(cC)k n( n 1.) (169) k =1 2

Further, from (39) and (70), we find ∞∞1 2 ∞ 11 ∑∑= =2 ∑ − 22 22+ kk=11(cC)k = kk( +1) k= 1kk1 (170) π2 = +−1π cothπ ≈ 1.1365200388. 3

23. Tetrahedral Numbers (Triangular Pyramidal Numbers) Tn

These numbers count the number of dots in pyramids built up of triangular numbers. If the base is the triangle of side n, then the pyramid is formed by placing similarly situated triangles upon it, each of which has one less in its sides than that which precedes it (see Figure 27).

In general, the nth Tn is given in terms of the sum of the first n triangular numbers, i.e.,

Tnn= T−1 +=+++ t n ttt 123 + tn, which in view of (15) is the same as

Figure 27. Tetrahedral numbers.

DOI: 10.4236/jamp.2021.98132 2097 Journal of Applied Mathematics and Physics

R. P. Agarwal

nn( ++12)( n ) n + 2 Tt= = . (171) nn63 Thus, first few tetrahedral numbers are 1, 4, 10, 20, 35, 56, 84, 120, 165.  In 1850, Pollock conjectured that every natural number is the sum of at most five tetrahedral numbers, which has not been proved. Tetrahedral numbers

are even, except for Tn41n+ ,= 0,1,2,, which are odd, see Conway and Guy [30]. The only numbers which are simultaneously square and tetrahedral are

TT12=1, = 4 , and T48 = 19600 , see Meyl [31].  The generating function for all tetrahedral numbers is x =++23 + 4 + 4 xx 4 10 x 20 x . (1− x)

 From (2), (11), and (168) it follows that nn 1132 32 ∑∑Tk =( k ++3 k 2 k) = nn( +++6 n 11 n 6) . (172) kk=116 = 24

 To find the sum of the reciprocals of all tetrahedral numbers we follow as in (16) and (17), to obtain ∞ 6 nn11  1 1  =lim 3 −−3 − ∑n→∞  ∑∑   k=1kk( ++12)( k ) kk=11k k+1 = k + 1 k + 2  (173) 1  11  3 =lim 3 1 −  −− 3  =. n→∞ nn++1  2 22 

 As in (173), we find − ∞∞k 1 ∞ 61(− ) kk−−1111 1 1  ∑∑=−31( )  − −− 31 ∑( )  −  kk=11kk( ++12)( k ) = k k+1 k= 1 k+1 k + 2  kk−−11 ∞∞(−−11) 1 ( )  =+31 2  −−3 2  ∑∑   kk=23kk 2 =  (174) 1 =3( 1 + 2ln 2 −− 2) 3 − 2ln 2 + 1 2 15 =12ln 2 −≈ 0.8177661667. 2 2  The numbers T32nn−−−4 T 1 = nn( 23 −+ 27 n 10) 6 are called truncated te-

trahedral numbers and denoted as (TT )n . These numbers are assembled by removing the (n −1) th tetrahedral number from each of the four corners from the (32n − ) th tetrahedral number. First few of these numbers are 1, 16, 68, 180, 375, 676, 1106. The generating function for all truncated tetrahedral numbers is xx(102 ++ 12 x 1) =+++23 4 + 4 xx 16 68 x 180 x . (1− x)

24. Square Pyramidal Numbers (SP)n

These numbers count the number of dots in pyramids built up of square num-

DOI: 10.4236/jamp.2021.98132 2098 Journal of Applied Mathematics and Physics

R. P. Agarwal

bers. First few square pyramidal numbers are 1, 5, 14, 30, 55, 91, 140. In general,

the nth square (SP)n is given in terms of the sum of the first n square numbers, i.e., = +222 =+++ 2 (SP)nn( SP) −1 n 12 n , which in view of (11) and (171) is the same as nn( ++12122221)( n) n( n +)( n +) 11 (SP) = = =T =( n +1.) t (175) n 6 46× 422nn 6  In 1918, George Neville Watson (1886-1965, England) proved that besides 1, there is only one other number that is both a square and a pyramid number, 4900, (as conjectured by Lucas in 1875), the 70th square number and the 24th = , i.e., S70 ( SP)24 .  The generating function for all square pyramidal numbers is xx( +1) =+++23 4 + 4 xx5 14 x 30 x . (1− x)

 From (2), (11), and (168) it follows that nn 112 =32 + += + + ∑∑(SP)k (2 k 3 k k) n( n1) ( n 2.) (176) kk=116 = 12

 To find the sum of the reciprocals of all square pyramidal numbers, we note that nn6 11 2 ∑∑=12  +− kk=11kk( ++121)( k ) =  2k 2( k+ 121) k +

n 1 =12 x21kk−+ +− x 212 xx 2 k d ∑ ∫0 ( ) k =1 n−1 1 2  =12xx( 1 − ) x2k d x ∫0 ∑ k =0 2n 1 2 1− x = 12xx( 1 − ) d x ∫0 1− x2 1 xx(1− ) = 12( 1− xx2n ) d . ∫0 1+ x Now since

11xx(1− ) 1 xx22nnd< xx d = → 0 as n →∞ ∫∫001++xn21 it follows that

∞ 16n 1 xx(1− ) ∑∑= lim = 12 dx n→∞ ++∫0 + kk=11(SP)k = k( k12)( k 1) 1x 12 =12 2 −−xx d = 6( 3 − 4ln 2) (177) ∫0 1+ x ≈ 1.364467667.  In 2006, Fearnehough [32] used Madhava of Sangamagramma (1340-1425, India) series

DOI: 10.4236/jamp.2021.98132 2099 Journal of Applied Mathematics and Physics

R. P. Agarwal

π 1111 1 =−+−+−1, + 4 3 5 7 9 11 known in the literature after James Gregory (1638-1675, England) and Gottfried Wilhelm von Leibniz (1646-1716, Germany) in the above partial fractions, to obtain k −1 ∞ 61(− ) ∑ k =1 kk( ++12)( k 1) 114  114  114  114  =6  +−−+−++−−+−+     123  235  347  459   (178) 1111 =61 + 4 −+−+− 3579 π =614 + −= 1 6(π − 3.) 4  The sum of two consecutive square pyramidal numbers, i.e., + =+≥2 (SP)nn( SP) −1 n(2 n 1) 3, n 1 are called octahedral numbers, and

denoted as (OH )n . The first few octahedral numbers are 1, 6, 19, 44, 85, 146, 231, 344. These numbers represent the number of spheres in an octahedral formed from close-packed spheres. Descartes initiated the study of octahe- dral numbers around 1630. In 1850, Pollock conjectured that every positive integer is the sum of at most 7 octahedral numbers, which for finitely many numbers have been proved by Brady [33]. The difference between two con- secutive octahedral numbers is a centered square number, i.e., − =2 +−2 = (OH)nn( OH) −1 n( n1) ( cS )n. The generating function for all oc- tahedral numbers is 2 xx( +1) =+++23 4 + 4 xx6 19 x 44 x . (1− x)

From (2) and (168) it follows that n 1 = +2 ++ ∑(OH)k n( n1)( n n 1.) (179) k =1 6

Further, as in (100), we have ∞ 13 1  1  ∑ =2γ +Ψ( 2 −ii 2)  +Ψ( 2 + 2)  ≈ 1.2781850979. (180) k =1 (OH )k 22  2   The sum of two consecutive octahedral numbers, i.e., + = −2 −+ (OH)nn( OH) −1 (2 n 12)( n 2 n 33) is called centered or Haüy octahedral numbers (named after René Just Haüy, 1743-1822,

France) and denoted as (cOH )n . The first few centered octahedral numbers are 1, 7, 25, 63, 129, 231, 377. The generating function for all centered octahe- dral numbers is 3 xx( +1) =++234 + + 4 xx7 25 x 63 x . (1− x)

DOI: 10.4236/jamp.2021.98132 2100 Journal of Applied Mathematics and Physics

R. P. Agarwal

As earlier, we have n 1 =22 + ∑(cOH)k n( n 2.) (181) k =1 3  From the definitions of (cC)n and (SP)n it follows that + = −2 −+ (cC)nn6( SP) −1 ( 2 n 12)( n 2 n 1) . These numbers are called Haüy rhombic dodecahedral numbers. First few of these numbers are 1, 15, 65, 175, 369, 671. These numbers are constructed as a centered cube with a square pyramid appended to each face. The generating function for all Haüy rhom- bic dodecahedral numbers is xx( +1)( x2 ++ 10 x 1) =+++23 4 + 4 xx15 65 x 175 x . (1− x)

 Haüy also gave construction of another set of numbers involving cubes and odd square numbers, namely, −32 +22 +++ − (2nn 1) 61 3 ( 2 3) 3 =−+−−−(2n 1) 2( nnn 12)( 12)( 3) =−(2n 1)( 8 nn2 −+ 14 7) .

First few of these numbers are 1, 33, 185, 553, 1233. These numbers are called Haüy rhombic dodecahedron numbers. The generating function for all of these numbers is x(1++ 29 xx 5923 − 13 x) =+++234 + 4 xx33 185 x 553 x . (1− x)  From the definitions of (OH )n and (SP)n it follows that − =32 − +− (OH)32nn−−6( SP) 1 16 n 33 n 24 n 6 . These numbers are called truncated octahedral numbers. First few of these numbers are 1, 38, 201, 586, 1289, 2406. These numbers are obtained by truncating all six vertices of oc- tahedron. The generating function for all truncated octahedral numbers is xx(632+ 55 x ++ 34 x 1) =+++234 + 4 xx38 201 x 586 x . (1− x)

25. Pentagonal Pyramidal Numbers (PP)n

These numbers count the number of dots in pyramids built up of pentagonal numbers. First few pentagonal pyramidal numbers are 1, 6, 18, 40, 75, 126, 196,

288. In general, the nth pentagonal pyramidal number (PP)n is given in terms of the sum of the first n pentagonal numbers, i.e., nn (PP) =( PP) +−=++++++−(3 n 1) 1 5 12 22 35 ( 3n 1) , nn−1 22 which in view of (54) is the same as 1 (PP) = n2 ( n +=1.) nt (182) n 2 n

DOI: 10.4236/jamp.2021.98132 2101 Journal of Applied Mathematics and Physics

R. P. Agarwal

 The generating function for all pentagonal pyramidal numbers is xx(21+ ) =+++23 4 + 4 xx6 18 x 40 x . (1− x)  From (11) and (168) it follows that nn11 =32 + = +2 ++ ∑∑(PP)k ( k k) n( n1)( 3 n 7 n 2.) (183) kk=112 = 24  To find the sum of the reciprocals of all pentagonal pyramidal numbers, from (16), (17), and (39), we have ∞1 ∞ 2 ∞∞ 1 11 π2 ∑= ∑ =2 ∑∑ − 2  −=−2. (184) 22+ + k=1(PP)k k= 1kk( 1) kk= 11 k = k k 13  Similar to (174) it follows that kk−−11 ∞∞(−−1) 21( ) π2 ∑∑= = +−2 4ln 2 ≈ 0.8723453446. (185) 2 + kk=11(PP)k = kk( 1) 6

26. Hexagonal Pyramidal Numbers (HP)n

These numbers count the number of dots in pyramids built up of hexagonal numbers. First few pentagonal pyramidal numbers are 1, 7, 22, 50, 95, 161, 252,

372. In general, the nth hexagonal pyramidal number (HP)n is given in terms of the sum of the first n hexagonal numbers, i.e., = + −=++++++ − (HP)nn( HP) −1 n(2 n 1) 1 6 15 28 45 n( 2 n 1) , which in view of (61) is the same as 11 (HP) = n( n +141)( n −=) ( 41. n −) t (186) n 63n  The generating function for all hexagonal pyramidal numbers is xx(31+ ) =++234 + + 4 xx7 22 x 50 x . (1− x)  From (11) and (168) it follows that nn11 =32 + −= 2 + + ∑∑(HP)k (4 k 3 k k) n( n1)( n 2.) (187) kk=1166=  To find the sum of the reciprocals of all hexagonal pyramidal numbers, we follow as in (177) and (184), to obtain ∞∞1 1 1 16 ∑∑=6  −+ + kk=11(HP) = k5( k+− 1) 54( k 1) k   (188) 6 =(12ln 2 − 2π −≈ 1) 1.2414970314. 5  Similarly, we have − ∞∞k 1 (−1) k −1 1 1 16 ∑∑=61( −)  −+ + kk=11(HP) = k5( k+− 1) 54( k 1) k  (189) 63 =1 +Φ− 4 1,1, − 6ln 2 ≈ 0.8892970462. 54

DOI: 10.4236/jamp.2021.98132 2102 Journal of Applied Mathematics and Physics

R. P. Agarwal

In (189), the function Φ is the Dirichlet beta function.

27. Generalized Pentagonal Pyramidal Numbers (GPP)n

These numbers count the number of dots in pyramids built up of generalized pen- tagonal numbers. First few generalized pentagonal pyramidal numbers are 1, 8, 27, 64, 125, 216, 343, 512. In general, the nth generalized pentagonal pyramidal num-

ber (GPP)n is given in terms of the sum of the first n generalized pentagonal numbers, i.e., = ++ − =+++ +++  − (GPP)nn( GPP) −1 1 3 n( n 1) 1 7 19 37  1 3n( n 1) ,

which in view of (68) is the same as = 3 (GPP)n n . (190) Thus, generalized pentagonal pyramidal numbers are the same as cubic num- bers.

28. Heptagonal Pyramidal Numbers (HEPP)n

These numbers count the number of dots in pyramids built up of heptagonal numbers. First few heptagonal pyramidal numbers are 1, 8, 26, 60, 115, 196, 308,

456. In general, the nth heptagonal pyramidal number (HEPP)n is given in terms of the sum of the first n heptagonal numbers, i.e., nn (HEPP) =( HEPP) +−=+++++−(5 n 3) 1 7 18 34 ( 5n 3) , nn−1 22 which in view of (78) is the same as 11 (HEPP) = n( n +152)( n −=) t( 52. n −) (191) n 63n  The generating function for all heptagonal pyramidal numbers is xx(41+ ) =+++234 + 4 xx8 26 x 60 x . (1− x)

 From (2), (11), and (168) it follows that n 1 = ++ − ∑(HEPP)k n( n1)( n 2)( 5 n 1.) (192) k =1 24  The sum of reciprocals of all heptagonal pyramidal numbers appears as ∞ 1 15 4 2 5 5− 5 ∑ =2ln 5 −−π 1 − +( 5 + 1) ln  k =1 (HEPP) 14 5 5 2 k    55+ −−( 5 1) ln  (193)  2    ≈ 1.2072933193.  Similarly, as in (189), we have k −1 ∞ (−1) 33 ∑ =2 +Φ− 5 1,1, − 9ln 2 ≈ 0.9023419344. (194) k =1 (HEPP)k 75

DOI: 10.4236/jamp.2021.98132 2103 Journal of Applied Mathematics and Physics

R. P. Agarwal

29. Octagonal Pyramidal Numbers (OP)n

These numbers count the number of dots in pyramids built up of octagonal numbers. First few octagonal pyramidal numbers are 1, 9, 30, 70, 135, 231, 364,

540. In general, the nth octagonal pyramidal number (OP)n is given in terms of the sum of the first n octagonal numbers, i.e., = +−=+++++− (OP)nn( OP) −1 n(3 n 2) 1 8 21 40 n( 3 n 2) ,

which in view of (88) is the same as 1 (OP) = n( n +121)( n −=) t( 21. n −) (195) n 2 n  The generating function for all octagonal pyramidal numbers is xx(51+ ) =+++234 + 4 xx9 30 x 70 x . (1− x)

 From (2), (11), and (168) it follows that n 1 = ++ − ∑(OP)k n( n1)( n 2)( 3 n 1.) (196) k =1 12

 The sum of reciprocals of all heptagonal pyramidal numbers appears as ∞ 12 ∑ =(4ln 2 −≈ 1) 1.1817258148. (197) k =1 (OP)k 3

 Similarly, we find

k −1 ∞ (−1) 2 ∑ =(1 +−π 4ln 2) ≈ 0.9126692876. (198) k =1 (OP)k 3

30. Nonagonal Pyramidal Numbers (NP)n

These numbers count the number of dots in pyramids built up of nonagonal numbers. First few nonagonal pyramidal numbers are 1, 10, 34, 80, 155, 266, 420,

624. In general, the nth nonagonal pyramidal number ( NP)n is given in terms of the sum of the first n nonagonal numbers, i.e., nn ( NP) =( NP) +(7 n −=+++++ 5) 1 9 24 46 ( 7n − 5) , nn−1 22 which in view of (99) is the same as 11 ( NP) = n( n +174)( n −=) t( 74. n −) (199) n 63n  The generating function for all nonagonal pyramidal numbers is xx(61+ ) =++++234 4 xx10 34 x 80 x . (1− x)

 From (2), (11), and (168) it follows that n 1 = ++ − ∑( NP)k n( n1)( n 2)( 7 n 3.) (200) k =1 24

DOI: 10.4236/jamp.2021.98132 2104 Journal of Applied Mathematics and Physics

R. P. Agarwal

 The sum of reciprocals of all heptagonal pyramidal numbers appears as ∞ 13 4 ∑ =33 − 28 Ψ− − 28γ ≈ 1.6184840638. (201) k =1 ( NP)k 88 7  Similarly, we find k −1 ∞ (−1) 33 ∑ =4 +Φ− 7 1,1, − 15ln 2 ≈ 0.9210386965. (202) k =1 ( NP)k 22 7

31. Decagonal Pyramidal Numbers (DP)n

These numbers count the number of dots in pyramids built up of decagonal numbers. First few decagonal pyramidal numbers are 1, 11, 38, 90, 175, 301, 476,

708. In general, the n-th decagonal pyramidal number (DP)n is given in terms of the sum of the first n decagonal numbers, i.e., = +−=+++++− (DP)nn( DP) −1 n(4 n 3) 1 10 27 52 n( 4 n 3) , which in view of (111) is the same as 11 (DP) = n( n +185)( n −=) t( 85. n −) (203) n 63n  The generating function for all decagonal pyramidal numbers is xx(71+ ) =+++234 + 4 xx11 38 x 90 x . (1− x)

 From (2), (11), and (168) it follows that n 1 = ++ − ∑(DP)k n( n1)( n 2)( 2 n 1.) (204) k =1 6  The sum of reciprocals of all decagonal pyramidal numbers appears as ∞ 16 5 ∑ =39 − 40 Ψ− − 40γ ≈ 1.1459323453. (205) k =1 (DP)k 325 8  Similarly, we find k −1 ∞ (−1) 63 ∑ =5 +Φ− 8 1,1, − 18ln 2 ≈ 0.9279541642. (206) k =1 (DP)k 65 8

32. Tetrakaidecagonal Pyramidal Numbers (TETP)n

These numbers count the number of dots in pyramids built up of tetrakaideca- gonal numbers. First few tetrakaidecagonal pyramidal numbers are 1, 15, 54, 130, 255, 441, 700, 1044, 1485. In general, the n-th tetrakaidecagonal pyramidal

number (TETP)n is given in terms of the sum of the first n tetrakaidecagonal numbers, i.e., = +−=+++++− (TETP)nn( TETP) −1 n(6 n 5) 1 14 39 76 n( 6 n 5) , which in view of (122) is the same as 1 (TETP) = n( n +143)( n −=) t( 43. n −) (207) n 2 n

DOI: 10.4236/jamp.2021.98132 2105 Journal of Applied Mathematics and Physics

R. P. Agarwal

 The generating function for all tetrakaidecagonal pyramidal numbers is xx(11+ 1) =+++23 4 + 4 xx15 54 x 130 x . (1− x)

 From (2), (11), and (168) it follows that n 1 = ++ − ∑(TETP)k n( n1)( n 2)( 3 n 2.) (208) k =1 6

 The sum of reciprocals of all tetrakaidecagonal pyramidal numbers appears as ∞ 12 ∑ = (2π + 12ln 2 −≈ 3) 1.1048525213. (209) k =1 (TETP)k 21  Similarly, we find k −1 ∞ (−1) 21 ∑ =3 +Φ− 4 1,1, − 10ln 2 ≈ 0.9466758087. (210) k =1 (TETP)k 214

33. Stella Octangula Numbers (SO)n

The word octangula for eight-pointed star was given by Johannes Kepler (1571-1630, Germany) in 1609. Stella octangula numbers count the number of dots in pyramids built up of star numbers. These numbers also arise in a para- metric family of instances to the crossed ladders problem in which the lengths and heights of the ladders and the height of their crossing point are all integers. The ratio between the heights of the two ladders is a stella octangula number. First few stella octangula numbers are 1, 14, 51, 124, 245, 426, 679, 1016, 1449. In

general, the nth stella octangula number (SO)n is given in terms of the sum of the first n star numbers, i.e., = ++ −=++++++  − (SO)nn( SO) −1 1 6 n( n 1) 1 13 37 73  1 6n( n 1) ,

which in view of (162) is the same as =2 −= + (SO)nn n(2 n 1) ( OH) 8. Tn−1 (211)

 The only known square stella octangula numbers are 1 and =2 = 9653449 3107 (SO)169 , see Conway and Guy [30].  The generating function for all stella octangula numbers is xx( 2 ++10 x 1) =+++23 4 + 4 xx14 51 x 1124 x . (1− x)

 From (2) and (168) it follows that n 1 = +2 +− ∑(SO)k n( n1)( n n 1.) (212) k =1 2

 The sum of reciprocals of all stella octangula numbers appears as ∞ 11 1   1 ∑ =−2γ +Ψ −  +Ψ  ≈1.1114472084. (213) k =1 (SO)k 2 22  

DOI: 10.4236/jamp.2021.98132 2106 Journal of Applied Mathematics and Physics

R. P. Agarwal

 Similarly, we find k −1 ∞ (−1) 11  1  = Φ−1,1,1 + +Φ−1,1,1 − − 2 ln 2 ∑    (214) k =1 (SO)k 2 22   ≈ 0.942739143439.

34. Biquadratic Numbers (BC)n

A biquadratic number can be written as a product of four equal factors of natu- ral numbers. Thus, 1, 16, 81, 256, 625, 1296, 2401, 4096 are first few biquadratic numbers.  Last digit of a biquadratic number can only be 0 (in fact 0000), 1, 5 (in fact 0625), or 6.  The n-th biquadratic number is the sum is the sum of the first n Haüy rhombic dodecahedral numbers. Indeed, from (2), (11), and (168) it follows that n ∑(2k− 12)( kk24 − 2 += 1) n. k =1

 Fermat’s Last Theorem confirms that a cannot be the sum of two other fourth powers, for details see Agarwal [14]. In 1770, Edward War- ing (1736-1798, England) conjectured (known as Waring’s problem) that every positive integer can be expressed as the sum of at most 19 fourth pow- ers, and every integer larger than 13,792 can be expressed as the sum of at most 16 fourth powers. In 1769, Euler conjectured that a fourth power can- not be written as the sum of three fourth powers, but in 1988 [34], Noam David Elkies (born 1966, USA) disproved Euler’s conjecture. Out of infinite number of possible counterexamples the following of Elkies is notable 206156734=++ 18796760 4 15365639 44 2682440 .  The generating function for all biquadratic numbers is xx( 32+11 x ++ 11 x 1) =+++23 4 + 5 xx16 81 x 256 x . (1− x)

 From (2), (11), (168), and the identity n nn +−=55 +−5 = 4 + 32 + ++ (n1) 1∑( k 1) k 5 ∑∑ k( 10 k 10 kk 5 1) k=1 kk=11 =

it follows that n 5 25 31 nnnnnkn5432++++=++5 10 10 5 5∑ 44 nn 32 ++10 n k =1 23 6

and hence n 1 111 1 ∑ k4= nn( +12)( n + 13)( n2 + 3 n −= 1) n543 + n + n − n. (215) k =1 30 5 2 3 30

 The following identity due to Abu-Ali al-Hassan ibn al-Hasan ibn al-Haitham (965-1039, Iraq) combines the sum of numbers raised to the power of four with different sums of numbers raised to the

DOI: 10.4236/jamp.2021.98132 2107 Journal of Applied Mathematics and Physics

R. P. Agarwal

n n nk 43 3 ∑k= ∑ kn( +−1.) ∑∑ j (216) k=1 k= 1 kj=11 =

 From (11), (15), (168), and (215) it follows that

nn 211 32 2 ∑∑tkn= tn(3 + 12 n + 13 n += 2)  tk(3 n++ 6 n 1) . (217) kk=1130 10 =

 To find the sum of reciprocals of all biquadratic numbers, we shall use the derivation of (39). First in the two expansions of (sin xx) , we compare the coefficients of x4 , to get π4 1 = ∑ 22. (218) 5! pq,∈ IN pq pq≠

Now squaring (39), to obtain ∞ 11π4 + = ∑∑4 2,22 k=1 kpq,∈ IN pq 36 pq≠

which in view of (218) gives ∞ 1 ππ4π 44 =− = ∑ 4 2. (219) k =1 k 36 5! 90  From (219) it immediately follows that k −1 ∞ (−1) 7π4 = ∑ 4 . (220) k =1 k 720

35. Pentatope Numbers (PTOP)n

The fifth cell of any row of Pascal’s triangle starting with the 5-term row 1 4 6 4 1, either from left to right or from right to left are defined as pentatope numbers. First few these numbers are 1, 5, 15, 35, 70, 126, 210, 330, 495. Thus, the n-th is defined as n + 3 1 11 (PTOP) = = n( n +1)( n + 2)( n += 3) tnn t+2 =( n +3.) Tn (221) n 4 24 6 4 These numbers can be represented as regular discrete geometric patterns, see Deza [3]. In biochemistry, the pentatope numbers represent the number of possible arrangements of n different polypeptide subunits in a tetrameric (tetra- hedral) protein.  Two of every three pentatope numbers are also pentagonal numbers. In fact, the following relations hold PTOP= P and PTOP= P . ( )32nn−−(3nn22−+ ) 2 ( )31 (3nn ) 2 (222)

 The generating function for all pentatope numbers is x =+++23 4 + 5 xx5 15 x 35 x . (1− x)

 From (2), (11), (168), and (215) it follows that

DOI: 10.4236/jamp.2021.98132 2108 Journal of Applied Mathematics and Physics

R. P. Agarwal

n 11 = + + + += + ∑(PTOP)kn n( n1234)( n)( n)( n) ( n 4)( PTOP) . (223) k =1 120 5  As in (17), we have ∞∞1 8 84 ∑∑=−=. (224) ++ ++ + kk=11(PTOPkkk)k = ( 12)( ) ( kk 1233)( )( k)  We also have n−1 ∞ (−1) 64 ∑ =32ln 2 −≈ 0.8473764446. (225) k =1 (PTOP)k 3

36. Partitions by Polygonal Numbers

Recall that general can be written as r = − −− r pn nr( 2) n( r 42) , where pn is the nth r-gonal number. For exam- ple, for r = 3 it gives triangular number, and for r = 4 gives a square number. Fermat in 1638 claimed that every positive integer is expressible as at most k k-gonal numbers (Fermat’s Polygonal Number Theorem). Fermat claimed to have a proof of this result, however his proof has never been found. In 1750, Eu- ler conjectured that every odd integer can be written as a sum of four squares in such a way that nabcd=222 +++ 2 and abcd+++ =1. In 1770. Lagrange proved that every positive integer can be represented as a sum of four squares, known as four-square theorem. For example, the number 1638=++ 422 6 25 2 + 31 2222 =+++ 1 1 6 40 2 has several different patricians, whereas for the number 1536=+++ 0222 16 16 32 2 this is the only partition. In 1797-8, Legendre extended the theorem in with his three-square theorem, by proving that a positive integer can be expressed as the sum of three squares if and only if it is not of the form 48k ( m + 7) for integers k and m. Later, in 1834, Jacobi gave a formula for the number of ways that a given positive integer n can be represented as the sum of four squares. In 1796, Gauss proved the difficult triangular case (every positive integer is the sum of three or fewer triangular numbers, which is equivalent to the statement that every number of the form 83m + is a sum of three odd squares, see Duke [35]), commemorating the occa- sion by writing in his diary the line EΓPHKA! num =∆+∆+∆, and published a proof in his book Disquisitiones Arithmeticae of 1798. For this reason, Gauss’s result is sometimes known as the Eureka theorem. For example, 16= 6 + 10 , 25=++ 1 3 21 , 39=++ 3 15 21, 150=++ 6 66 78 . The full polygonal number theorem was resolved finally in 1813 by Cauchy. In 1872, Henri Léon Lebesgue (1875-1941, France) proved that every positive integer is the sum of a square number (possibly 02) and two triangular numbers, and every positive integer is the sum of two square numbers and a triangular number. For further details, see Grosswald [36], Ewell [37] [38], and Guy [39].

37. Conclusions

Triangular numbers which are believed to have been introduced by Pythagoras

DOI: 10.4236/jamp.2021.98132 2109 Journal of Applied Mathematics and Physics

R. P. Agarwal

himself play a dominant role in all types of figurative numbers we have ad- dressed in this article. In fact, Equation (1) says natural number n is the differ-

ence of tn and tn−1 , whereas Gauss’s Eureka theorem stipulates that n can be written as the sum of three triangular numbers. Equation (32) shows that square

number Sn is the sum of tn and tn−1 . Equation (44) shows that square num-

ber Rn is 2 times of tn . Relation (51) says pentagonal number Pn is

(13)t31n− , whereas (53) gives Ptnn=+=−2 t n−1 t 21 n −− t n 1. Equation (60) informs

that hexagonal number Hn is the same as t21n− . Relation (67) says generalized +=++ pentagonal number (GP)n is the same as tt164n− 1 t nn t −− 12 t n. Equation + (77) informs that heptagonal number (HEP)n is the same as ttnn4 −1 . Relation

(87) declares that octagonal number On is equal to ttnn+ 5 −1 . Equation (98) im-

plies that nonagonal number Nn is equal to ttnn+ 6 −1 . Relation (110) says de-

cagonal number Dn is the same as ttnn+ 7 −1 . Equation (121) informs that tetra- + kaidecagonal number (TET )n is the same as ttnn11 −1 . Relation (133) shows ++ that centered triangular number (ct)n is the same as ttnn−−12 t n, whereas re-

lation (137) confirms that centered square number (cS )n is equal to ++ tttnn2 −−12 n. Equation (141) says centered pentagonal number (cP)n is equal

to ttnn++3 −−12 t n, whereas Equation (145) tells centered heptagonal number ++ (cHEP)n is the same as ttnn5 −−12 t n. Relation (149) informs that centered ++ octagonal number (cO)n is the same as tttnn6 −−12 n, whereas (153) shows ++ centered nonagonal number (cN )n is the same as tttnn7 −−12 n, and relation ++ (157) tells centered decagonal number (cD)n is the same as ttnn8 −−12 t n. ++ Equations (161) shows that star number (ST )n is the same as tn10 tt nn−−12, whereas Equation (165) shows that centered tetrakaidecagonal number ++ (cTET )n is the same as tn12 tt nn−−12. Relation (168) shows that the sum of 2 the first n cubic numbers is the same as tn . Equation (171) shows that tetrahe-

dral number Tn is the same as (13)(nt+ 2) n . Relation (175) says square py- + ramidal number (SP)n is the same as (16)(nt 1) 2n . From the definition of octahedral numbers and (175) it follows that = ++ (OH)n (16)( nt22nn− ( n1) t2) . From the relation (182) it follows that penta-

gonal pyramidal number (PP)n is the same as ntn . Equation (186) says hex- − agonal pyramidal number (HP)n is the same as (13)( 4nt 1) n . From Equation

(191) it follows that heptagonal pyramidal number (HEPP)n is the same as

(13)( 5nt− 2) n . Equation (195) suggests that octagonal pyramidal number − (OP)n is the same as (21nt) n . Relation (199) tells nonagonal pyramidal num- − ber ( NP)n is the same as (13)( 7nt 4) n . Equation (203) informs that decagon- − al pyramidal number (DP)n is the same as (13)( 8nt 5) n , whereas relation

(207) indicates that tetrakaidecagonal pyramidal number (TETP)n is the same as

(43nt− ) n . Thus, in conclusion almost all figurative numbers we have studied are directly related with triangular numbers.

Acknowledgements

The author is grateful to Professor Chan Heng Huat, National University of

DOI: 10.4236/jamp.2021.98132 2110 Journal of Applied Mathematics and Physics

R. P. Agarwal

Singapore, for his generous guidance and encouragement in the preparation of this article. He is also thankful to Professor Chao Wang and referees for their comments.

Authors Contribution

Not applicable.

Funding

This work received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

There is no conflict of interest.

References [1] Ladyzhenskaya, O. (1926) Nicomachus of Geraza. Introduction to Arithmetic, Mar- tin Luther D’Ooge Trans., Macmillan Education, London. [2] Ross, H.E. and Knott, B.I. (2019) Dicuil (9th Century) on Triangular and Square Numbers. British Journal for the History of Mathematics, 34, 79-94. https://doi.org/10.1080/26375451.2019.1598687 [3] Deza, E. and Deza, M. (2011) Figurative Numbers. World Scientific, Singapore, 476 p. https://doi.org/10.1142/8188 [4] Alsina, C. and Nelsen, R.B. (2006) Math Made Visual: Creating Images for Under- standing Mathematics. The Mathematical Association of America, 28. https://doi.org/10.5948/UPO9781614441007 [5] Agarwal, R.P. and Sen, S.K. (2014) Creators of Mathematical and Computational Sciences. SpringerVerlag, New York. https://doi.org/10.1007/978-3-319-10870-4 [6] Bell, E.T. (1946) The Magic of Numbers. Dover Publications, New York. [7] Fearnehough, A. (2012) Triangular Numbers. Resonance, 17, 672-681. https://doi.org/10.1007/s12045-012-0074-z [8] Guy, R.K. (1994) Unsolved Problems in Number Theory. 2nd Edition, Sprin- ger-Verlag, New York. https://doi.org/10.1007/978-1-4899-3585-4 [9] Trigg, C.W. (1974) Infinite Sequences of Palindromic Triangular Numbers. Journal of , 7, 209-221. [10] Sloane, N.J.A. and Plouffe, S. (2019) The Encyclopedia of Integer Sequences. Aca- demic Press, San Diego.

DOI: 10.4236/jamp.2021.98132 2111 Journal of Applied Mathematics and Physics

R. P. Agarwal

[11] Davis, H.T. (1962) The Summation of Series. Principia Press, Michigan. [12] Lesko, J. (2004) Sums of Harmonictype Sums. The College Mathematics Journal, 35, 171-182. https://doi.org/10.1080/07468342.2004.11922070 [13] Agarwal, R.P. (2020) Pythagorean Theorem before and after Pythagoras. Advanced Studies in Contemporary Mathematics, 30, 357-389. [14] Agarwal, R.P. (2020) Pythagorean Triples before and after Pythagoras. Computa- tion, 8, 36-62. https://doi.org/10.3390/computation8030062 [15] Beauregard, R.A. and Suryanarayan, E.R. (2000) Parametric Representation of Pri- mitive Pythagorean Triples. Mathematics Magazine, 69, 189. [16] Agarwal, R.P. (2000) Difference Equations and Inequalities. 2nd Edition, Marcel Dekker, New York. [17] Agarwal, R.P. and Agarwal, H. (2021) Origin of Irrational Numbers and Their Ap- proximations. Computation, 9, 29-49. https://doi.org/10.3390/computation9030029 [18] Pietenpol, J.L., Sylwester, A.V., Just, E. and Warten, R.M. (1962) Elementary Prob- lems and Solutions: E 1473, Square Triangular Numbers, American Mathematical Monthly. Mathematical Association of America, 69, 168-169. https://doi.org/10.2307/2312558 [19] Burton, D.M. (2002) Elementary Number Theory. 5th Edition, McGraw Hill, New York. [20] Mihăilescu, P. (2004) Primary Cyclotomic Units and a Proof of Catalan’s Conjec- ture. Journal Für Die Reineund Angewandte Mathematik, 572, 167-195. https://doi.org/10.1515/crll.2004.048 [21] Bennett, M.A. (2001) Rational Approximation to Algebraic Numbers of Small Height: The Diophantine Equation axnn−= by 1. Journal Für Die Reine und An- gewandte Mathematik, 535, 1-49. https://doi.org/10.1515/crll.2001.044 [22] Plouffe, S. (1992) 1031 Generating Functions, University of Quebec, Laboratoire de Combinatoire et d’Informatique Mathmatique, Quebec. [23] Ram Murty, M. (2019) A Simple Proof That ζ (26) = π2 . The Mathematics Stu- dent, 88, 113-115. [24] Ma, D.G. (1985) An Elementary Proof of the Solutions to the Diophantine Equation 6y2 =++ xx( 12)( x 1) . Journal of Sichuan University, 4, 107-116.

[25] Anglin, W.S. (1990) The Square Pyramid Puzzle. American Mathematical Monthly, 97, 120-124. https://doi.org/10.1080/00029890.1990.11995558 [26] Luo, M. (1989) On Triangular Fibonacci Numbers. The Fibonacci Quarterly, 27, 98-108. [27] Andrews, G.E., Askey, R. and Roy, R. (1999) Special Functions. Cambridge Univer- sity Press, Cambridge. https://doi.org/10.1017/CBO9781107325937 [28] Efthimiou, C.J. (1999) Finding Exact Values for Infinite Series. Mathematics Maga- zine, 72, 45-51. https://doi.org/10.1080/0025570X.1999.11996698 [29] Downey, L. (2008) Beyond the Basel Problem: Sums of Reciprocals of Figurate Numbers. World Scientific, Preprint. [30] Conway, J.H. and Guy, R.K. (1996) The Book of Numbers. Springer-Verlag, New York. https://doi.org/10.1007/978-1-4612-4072-3 [31] Meyl, A.J.J. (1878) Solution de Question 1194. Nouvelles Annales de Mathémati- ques, 17, 464-467. https://doi.org/10.1038/017464a0

DOI: 10.4236/jamp.2021.98132 2112 Journal of Applied Mathematics and Physics

R. P. Agarwal

[32] Fearnehough, A. (2006) 90.67 A Series for the “Bit”. The Mathematical Gazette, 90, 460-461. https://doi.org/10.1017/S0025557200180337 [33] Brady, Z.E. (2016) Sums of Seven Octahedral Numbers. Journal of the London Ma- thematical Society, 535, 1-49. https://doi.org/10.1112/jlms/jdv061 [34] Elkies, N.D. (1988) On ABC444++= D 4. Mathematics of Computation, 51, 825-835. https://doi.org/10.2307/2008781 [35] Duke, W. (1997) Some Old Problems and New Results about Quadratic Forms. No- tices of the American Mathematical Society, 44, 190-196. [36] Grosswald, E. (1985) Representations of Integers as Sums of Squares. Sprin- ger-Verlag, New York. https://doi.org/10.1007/978-1-4613-8566-0 [37] Ewell, J.A. (1992) On Sums of Triangular Numbers and Sums of Squares. The American Mathematical Monthly, 99, 752-757. https://doi.org/10.1080/00029890.1992.11995924 [38] Ewell, J.A. (1992) On Representations of Numbers by Sums of Two Triangular Numbers. The Fibonacci Quarterly, 30, 175-178. [39] Guy, R.K. (1994) Every Number Is Expressible as a Sum of How Many Polygonal Numbers. The American Mathematical Monthly, 101, 169-172. https://doi.org/10.1080/00029890.1994.11996925

DOI: 10.4236/jamp.2021.98132 2113 Journal of Applied Mathematics and Physics