12 PETER KOROTEEV

Remark. Note that out n! fixed points of T acting on Xn only for single point q we 12 PETER KOROTEEV get a polynomial out of Vq.Othercoecient functions Vp remain infinite which we 12shall further ignore. PETER One KOROTEEV can verify by examining (2.25) that in the n limit these Remark. Note that out n! fixed points of T acting on Xn only for single point q we coecient functions will be suppressed. A choice of fixed point q following!1 the large-n limits get a polynomial out of Vq.Othercoecient functions Vp remain infinite series which we Remark. Note thatcorresponds out n! fixed to zooming points of intoT aacting certain on asymptoticXn only region for single in which pointa q we a shall further ignore. One can verify by examining (2.25) that in the n | Slimit(1)| these| S(2)| ··· get a polynomial out ofaVSq(n.Othercoe) ,whereS cientSn is functionsa permutationVp remain corresponding infinite to series the choice!1 which of we fixed point q. shall furthercoe ignore.cient functions One| can| will verify be suppressed. by2 examining A choice (2.25 of) that fixed in point theqnfollowinglimit the large- thesen limits corresponds to zooming into a certain asymptotic region in which a!1 a coecient functions will be suppressed. A choice of fixed point q following| theS(1) large-| | nSlimits(2)| ··· aS(n) ,whereS Sn is a corresponding to the choice of fixed point q. qAAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA== AAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA==

corresponds| to zooming| into2 a certain asymptotic regionq”AAAB8nicbVBNS8NAEJ34WetX1aOXYJF6KokI6q3oxWMFYwtNKJvtpl262cTdiVhC/4YXDype/TXe/Ddu2xy09cHA470ZZuaFqeAaHefbWlpeWV1bL22UN7e2d3Yre/v3OskUZR5NRKLaIdFMcMk85ChYO1WMxKFgrXB4PfFbj0xpnsg7HKUsiElf8ohTgkbyfWRPGEb5Q6027laqTt2Zwl4kbkGqUKDZrXz5vYRmMZNIBdG64zopBjlRyKlg47KfaZYSOiR91jFUkpjpIJ/ePLaPjdKzo0SZkmhP1d8TOYm1HsWh6YwJDvS8NxH/8zoZRhdBzmWaIZN0tijKhI2JPQnA7nHFKIqRIYQqbm616YAoQtHEVDYhuPMvLxLvtH5Zd2/Pqo2rIo0SHMIRnIAL59CAG2iCBxRSeIZXeLMy68V6tz5mrUtWMXMAf2B9/gBOsZFm in which a a | S(1)| | S(2)| ··· 12a ,whereS S is a permutation PETER KOROTEEV corresponding to the choice of fixed point q. | S(n)| 2 n

qAAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA== AAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA==

q’AAAB8XicbVBNS8NAEN3Ur1q/qh69LBbRU0lEUG9FLx4rGFtIQ9lsN+3SzW7cnYgl9Gd48aDi1X/jzX/jts1BWx8MPN6bYWZelApuwHW/ndLS8srqWnm9srG5tb1T3d27NyrTlPlUCaXbETFMcMl84CBYO9WMJJFgrWh4PfFbj0wbruQdjFIWJqQvecwpASsFHWBPEMX5w/G4W625dXcKvEi8gtRQgWa3+tXpKZolTAIVxJjAc1MIc6KBU8HGlU5mWErokPRZYKkkCTNhPj15jI+s0sOx0rYk4Kn6eyIniTGjJLKdCYGBmfcm4n9ekEF8EeZcphkwSWeL4kxgUHjyP+5xzSiIkSWEam5vxXRANKFgU6rYELz5lxeJf1q/rHu3Z7XGVZFGGR2gQ3SCPHSOGugGNZGPKFLoGb2iNwecF+fd+Zi1lpxiZh/9gfP5A+qTkTU=

q”AAAB8nicbVBNS8NAEJ34WetX1aOXYJF6KokI6q3oxWMFYwtNKJvtpl262cTdiVhC/4YXDype/TXe/Ddu2xy09cHA470ZZuaFqeAaHefbWlpeWV1bL22UN7e2d3Yre/v3OskUZR5NRKLaIdFMcMk85ChYO1WMxKFgrXB4PfFbj0xpnsg7HKUsiElf8ohTgkbyfWRPGEb5Q6027laqTt2Zwl4kbkGqUKDZrXz5vYRmMZNIBdG64zopBjlRyKlg47KfaZYSOiR91jFUkpjpIJ/ePLaPjdKzo0SZkmhP1d8TOYm1HsWh6YwJDvS8NxH/8zoZRhdBzmWaIZN0tijKhI2JPQnA7nHFKIqRIYQqbm616YAoQtHEVDYhuPMvLxLvtH5Zd2/Pqo2rIo0SHMIRnIAL59CAG2iCBxRSeIZXeLMy68V6tz5mrUtWMXMAf2B9/gBOsZFm Remark. Note that out n! fixed points of T acting on Xn only for single point q we get a polynomial out of Vq.Othercoecient functions Vp remain infinite series which we qAAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA== AAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA==

q”AAAB8nicbVBNS8NAEJ34WetX1aOXYJF6KokI6q3oxWMFYwtNKJvtpl262cTdiVhC/4YXDype/TXe/Ddu2xy09cHA470ZZuaFqeAaHefbWlpeWV1bL22UN7e2d3Yre/v3OskUZR5NRKLaIdFMcMk85ChYO1WMxKFgrXB4PfFbj0xpnsg7HKUsiElf8ohTgkbyfWRPGEb5Q6027laqTt2Zwl4kbkGqUKDZrXz5vYRmMZNIBdG64zopBjlRyKlg47KfaZYSOiR91jFUkpjpIJ/ePLaPjdKzo0SZkmhP1d8TOYm1HsWh6YwJDvS8NxH/8zoZRhdBzmWaIZN0tijKhI2JPQnA7nHFKIqRIYQqbm616YAoQtHEVDYhuPMvLxLvtH5Zd2/Pqo2rIo0SHMIRnIAL59CAG2iCBxRSeIZXeLMy68V6tz5mrUtWMXMAf2B9/gBOsZFm shall further ignore. One can verify by examining (2.25) that in the n limit these

q’AAAB8XicbVBNS8NAEN3Ur1q/qh69LBbRU0lEUG9FLx4rGFtIQ9lsN+3SzW7cnYgl9Gd48aDi1X/jzX/jts1BWx8MPN6bYWZelApuwHW/ndLS8srqWnm9srG5tb1T3d27NyrTlPlUCaXbETFMcMl84CBYO9WMJJFgrWh4PfFbj0wbruQdjFIWJqQvecwpASsFHWBPEMX5w/G4W625dXcKvEi8gtRQgWa3+tXpKZolTAIVxJjAc1MIc6KBU8HGlU5mWErokPRZYKkkCTNhPj15jI+s0sOx0rYk4Kn6eyIniTGjJLKdCYGBmfcm4n9ekEF8EeZcphkwSWeL4kxgUHjyP+5xzSiIkSWEam5vxXRANKFgU6rYELz5lxeJf1q/rHu3Z7XGVZFGGR2gQ3SCPHSOGugGNZGPKFLoGb2iNwecF+fd+Zi1lpxiZh/9gfP5A+qTkTU= coecient functions will be suppressed. A choice of fixed point q following!1 the large-n limits corresponds to zooming into a certain asymptotic region in which aS(1) aS(2) | | | q’AAAB8XicbVBNS8NAEN3Ur1q/qh69LBbRU0lEUG9FLx4rGFtIQ9lsN+3SzW7cnYgl9Gd48aDi1X/jzX/jts1BWx8MPN6bYWZelApuwHW/ndLS8srqWnm9srG5tb1T3d27NyrTlPlUCaXbETFMcMl84CBYO9WMJJFgrWh4PfFbj0wbruQdjFIWJqQvecwpASsFHWBPEMX5w/G4W625dXcKvEi8gtRQgWa3+tXpKZolTAIVxJjAc1MIc6KBU8HGlU5mWErokPRZYKkkCTNhPj15jI+s0sOx0rYk4Kn6eyIniTGjJLKdCYGBmfcm4n9ekEF8EeZcphkwSWeL4kxgUHjyP+5xzSiIkSWEam5vxXRANKFgU6rYELz5lxeJf1q/rHu3Z7XGVZFGGR2gQ3SCPHSOGugGNZGPKFLoGb2iNwecF+fd+Zi1lpxiZh/9gfP5A+qTkTU= | ··· aS(n) ,whereS Sn is a permutation corresponding to the choice of fixed point q. 12| | 2 PETER KOROTEEV

Remark. Note that out n! fixed points ofFigureT acting 2. on AsymptoticXn only for single regions point ofq thewe space of GL(n) equivariant parame- Integer Partitions qAAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA== AAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA==

q”AAAB8nicbVBNS8NAEJ34WetX1aOXYJF6KokI6q3oxWMFYwtNKJvtpl262cTdiVhC/4YXDype/TXe/Ddu2xy09cHA470ZZuaFqeAaHefbWlpeWV1bL22UN7e2d3Yre/v3OskUZR5NRKLaIdFMcMk85ChYO1WMxKFgrXB4PfFbj0xpnsg7HKUsiElf8ohTgkbyfWRPGEb5Q6027laqTt2Zwl4kbkGqUKDZrXz5vYRmMZNIBdG64zopBjlRyKlg47KfaZYSOiR91jFUkpjpIJ/ePLaPjdKzo0SZkmhP1d8TOYm1HsWh6YwJDvS8NxH/8zoZRhdBzmWaIZN0tijKhI2JPQnA7nHFKIqRIYQqbm616YAoQtHEVDYhuPMvLxLvtH5Zd2/Pqo2rIo0SHMIRnIAL59CAG2iCBxRSeIZXeLMy68V6tz5mrUtWMXMAf2B9/gBOsZFm get a polynomial out of Vq.Othercoecientters. functions In theVp remainn infinitelimit, series provided which that we (2.25) holds, we approach the given !1 shall further ignore. One canContents verify by examiningfixed ( point.2.25) that in the n limit these coecient functions will be suppressed. A choice of fixed point q following!1 the large-n limits

Figure 2. Asymptotic regions of theq’AAAB8XicbVBNS8NAEN3Ur1q/qh69LBbRU0lEUG9FLx4rGFtIQ9lsN+3SzW7cnYgl9Gd48aDi1X/jzX/jts1BWx8MPN6bYWZelApuwHW/ndLS8srqWnm9srG5tb1T3d27NyrTlPlUCaXbETFMcMl84CBYO9WMJJFgrWh4PfFbj0wbruQdjFIWJqQvecwpASsFHWBPEMX5w/G4W625dXcKvEi8gtRQgWa3+tXpKZolTAIVxJjAc1MIc6KBU8HGlU5mWErokPRZYKkkCTNhPj15jI+s0sOx0rYk4Kn6eyIniTGjJLKdCYGBmfcm4n9ekEF8EeZcphkwSWeL4kxgUHjyP+5xzSiIkSWEam5vxXRANKFgU6rYELz5lxeJf1q/rHu3Z7XGVZFGGR2gQ3SCPHSOGugGNZGPKFLoGb2iNwecF+fd+Zi1lpxiZh/9gfP5A+qTkTU= space of GL(n) equivariant parame- 1. Partitionscorresponds of Integers to zooming and into Stacking a certain Blocks asymptotic region in which aS(1) aS 1(2) 2. Odd and Distinct Partsters. InRemark. the n Thelimit, above provided| theorem| that| has 3 (2.25| an) interesting··· holds, we approach interpretation the given from the point of view aS(n) ,whereS Sn is a permutation corresponding!1 to the choice of fixed point q. 3. Symmetric| | Partitions2Figure 2.fixedAsymptoticof point. enumerative regions geometry of the space viewpoint of 10GL and(n) Gromov-Witten equivariant parame- theory in particular. Formulae 4. Binariesters. In the n like (limit,2.10), provided which are that closed (2.25 cousins) holds, 14 of Givental we approach J-functions, the given serve as generating functions

5. Sums from Partitions. FigurateRemark. NumbersThe aboveqAAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA== AAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA== theorem has an interesting 15 interpretation from the point of view fixed point.q”AAAB8nicbVBNS8NAEJ34WetX1aOXYJF6KokI6q3oxWMFYwtNKJvtpl262cTdiVhC/4YXDype/TXe/Ddu2xy09cHA470ZZuaFqeAaHefbWlpeWV1bL22UN7e2d3Yre/v3OskUZR5NRKLaIdFMcMk85ChYO1WMxKFgrXB4PfFbj0xpnsg7HKUsiElf8ohTgkbyfWRPGEb5Q6027laqTt2Zwl4kbkGqUKDZrXz5vYRmMZNIBdG64zopBjlRyKlg47KfaZYSOiR91jFUkpjpIJ/ePLaPjdKzo0SZkmhP1d8TOYm1HsWh6YwJDvS8NxH/8zoZRhdBzmWaIZN0tijKhI2JPQnA7nHFKIqRIYQqbm616YAoQtHEVDYhuPMvLxLvtH5Zd2/Pqo2rIo0SHMIRnIAL59CAG2iCBxRSeIZXeLMy68V6tz5mrUtWMXMAf2B9/gBOsZFm !1of the equivariant gravitational descendants of Xn.Dueto(2.25) the q-hypergeometric- 6. Pentagonal Numbersof enumerative geometry viewpoint and Gromov-Witten 20 theory in particular. Formulae 7. Restricted Partitionstype series truncate to polynomials 24 thereby implying that these equivariant gravitational like (2.10), whichdescendants are closed vanish cousins identically of Givental starting J-functions, from some serve order as generatingin ⇣ ’s. The functions parameters of the 8. Counting PartitionsRemark. The above theorem has an interestingq’AAAB8XicbVBNS8NAEN3Ur1q/qh69LBbRU0lEUG9FLx4rGFtIQ9lsN+3SzW7cnYgl9Gd48aDi1X/jzX/jts1BWx8MPN6bYWZelApuwHW/ndLS8srqWnm9srG5tb1T3d27NyrTlPlUCaXbETFMcMl84CBYO9WMJJFgrWh4PfFbj0wbruQdjFIWJqQvecwpASsFHWBPEMX5w/G4W625dXcKvEi8gtRQgWa3+tXpKZolTAIVxJjAc1MIc6KBU8HGlU5mWErokPRZYKkkCTNhPj15jI+s0sOx0rYk4Kn6eyIniTGjJLKdCYGBmfcm4n9ekEF8EeZcphkwSWeL4kxgUHjyP+5xzSiIkSWEam5vxXRANKFgU6rYELz5lxeJf1q/rHu3Z7XGVZFGGR2gQ3SCPHSOGugGNZGPKFLoGb2iNwecF+fd+Zi1lpxiZh/9gfP5A+qTkTU= interpretation 28 from the pointi of view of the equivariantproblem gravitational get adjusted descendants in such a way of X that.Dueto( the equivariant2.25) the volume q-hypergeometric- of the moduli spaces of Figure 2. Asymptotic regions of the space of GL(n) equivariantn parame- of enumerativetype seriesgeometry truncatequasimaps viewpoint to polynomialsof degrees and Gromov-Witten (d thereby,...,d implying)whichexceed( theory that in these particular. ,..., equivariant Formulae) become gravitational zero.3. ters. In the n limit, provided that (2.25) holds,1 wen approach1 the given 1 n 1 like (2.10),descendants which are closed vanish cousins identically of Givental starting J-functions, from some order serve in as⇣ generating’s. The parameters functions of the 1. Partitionsfixed point. of Integers!1 and Stacking Blocks i of the equivariantproblem gravitational get adjusted in descendants such a way of thatXn the.Dueto( equivariant2.25) volume the q-hypergeometric- of the moduli spaces of Given a positivetype integer, series sayPartitions truncate 4, there are to several polynomials different ways thereby to decompose implying it into that these equivariant gravitational3 There are several ways to decomposequasimaps an integer of degrees into sums (ofd 1smaller,...,d integersn 1)whichexceed(1,...,n 1) become zero. . sums of positiveRemark. integers whichThe are above not bigger theorem than has 4, see an figure interesting below: interpretation from the point of view descendants vanish identically starting from some order in ⇣i’s. The parameters of the 4=1+1+1+1of enumerative geometry viewpoint and Gromov-Witten theory in particular. Formulae likeFigure (problem2.10), 2. whichAsymptotic get are adjusted closed regions cousins in of such the of spacea Givental way of thatGL J-functions,(n) the equivariant equivariant serve parame- as volume generating of functions the moduli spaces of ters. In the n limit, provided that (2.25) holds, we approach the given 3 1 of thequasimaps equivariant of gravitational degrees (d1,...,d descendantsExample.n 1)whichexceed(Let of X us.Dueto( look at the2.251,..., simplest) then q-hypergeometric- example1) becomeX2 zero.= T ⇤P. . The corresponding vertex fixed point. !1 n type series truncate to polynomialsfunction thereby is given implying by the that q-hypergeometric these equivariant function gravitational 4=2+1+1 q ap Remark.descendantsThe vanishabove theorem identically has an starting interesting from interpretation some order from in ⇣d thei’s.2 point The of parameters view of the a ; q 1 problem get adjustedExample. in such aLet way us that look the at(1) equivariant the simplest⇣ volume1 example of~ theXi 2 moduli=dT ⇤ spaces. The of correspondingap ap q ⇣1 vertex of enumerative geometry viewpoint and(2.26) Gromov-WittenVp theory= in particular. Formulae =P21 , ,q ; q; . a 3 ~ ~ likequasimaps (2.10), which of are degrees closedfunction ( cousinsd1,...,d is given ofn Givental1)whichexceed( by the J-functions, q-hypergeometricYoung diagrams serve1,..., as⇣2 generatingn function1) become⇣ functionsp zero.⌘ . ap¯ ap¯ ~ ⇣2 d>0 ✓ ◆ i=1 a ; q ✓ ◆ of the4=2+2 equivariant gravitational descendants of X .Dueto(X2.25) the q-hypergeometric-Y i d n q ap d 2 ; q ⇣ ⌘ type series truncate to polynomials thereby implying⇣ that these equivariant~ ai gravitationala a q ⇣ Example. Let us look3(1)I at thank the A. simplest Okounkov1 example and S. KatzX ford = interestingT 1. The discussionsp correspondingp on these1 matters. vertex descendants vanish identically(2.26) startingVp from= some order in ⇣i’s. The parameters2 =2⇤1P of~ the, ~ ,q ; q; . ⇣ ap ⌘ function is given by the q-hypergeometric⇣2 function; q ap¯ ap¯ ~ ⇣2 problem get adjusted in such a way that the equivariantd>0 ✓ ◆ volumei=1 ofai the moduli spaces✓ of ◆ 4=3+1 X Y d 3 quasimaps of degrees (d1,...,dn 1)whichexceed(1,...,n 1) become zero. . q ap ⇣ ⌘ 3 d 2 ; q Example. Let usI look thank(1) at A. the Okounkov simplest⇣1 and example S. Katz~ ai forX interestingd= T 1. discussionsThea correspondingp a onp theseq matters.⇣ vertex1 (2.26) Vp = 2 =2⇤P1 ~, ~ ,q ; q; . function is given by the q-hypergeometric⇣2 function⇣ ap ⌘ ap¯ ap¯ ~ ⇣2 d>0 ✓ ◆ i=1 ; q ✓ ◆ 4=4+0 ai d X q apY d 2 ; q ⇣ ~ ai ⇣ ⌘ a a q ⇣ 3 (1) 1 d p p 1 (2.26) I thankVp A.= Okounkov and S. Katz for interesting=211 ~ discussions, ~ ,q ; onq; these matters.. On the leftExample. we see fiveLet possible us look decompositions at the simplest⇣2 of 4 example and⇣ a onp theX⌘2 right= T –⇤P their. The visualizationsa correspondingp¯ ap¯ ~ ⇣2 vertex d>0 ✓ ◆ i=1 ; q ✓ ◆ in termsfunction of so-called is given Young by diagrams. the q-hypergeometricX The rules areY function thea following:i d

q ap ⇣ ⌘ The number3 of blocks in each columnd 2 of the diagram is equal to the corresponding • I thank A. Okounkov and S. Katza for; q interesting discussions on these matters. summand, say on(1) top of the⇣ figure1 4 = 1~ +i 1 + 1d + 1 has a rowap of fourap blockq ⇣1 as its (2.26) Vp = =21 ~, ~ ,q ; q; . Young diagram. ⇣2 ⇣ ap ⌘ ap¯ ap¯ ~ ⇣2 d>0 ✓ ◆ i=1 a ; q ✓ ◆ X Y1 i d ⇣ ⌘ 3I thank A. Okounkov and S. Katz for interesting discussions on these matters. 2

In order to avoid double-counting and to count, say, 4 = 3 + 1 and 4 = 1 + 3 as • the same partition we agree to place higher columns to the left and lower columns to the rights of the Young diagram. In other words, if we move from left to right the hight cannot increase.

In class we visualized partitioning of integers using toy blocks (we used some of my daughter’s sets of cubic blocks). At the beginning start with the row partition, e.g 4 = 1 + 1 + 1 + 1 or 7 = 1 + 1 + 1 + 1 + 1 + 1 + 1. Then take the right-most block and move it to the left such that the above rules are satisfied. Sometimes there’s only one option, sometimes there are several. Then take the next right-most (and top-most) block and move it to the left such that the rules are satisfied, etcetera. Keep doing this until you run out of options and no blocks can be moved to the left. In the above figure the partitions (as well as the diagrams) are ordered according to the this algorithm – each diagram in the list can be obtained from one of the diagrams above it by moving a block from right to left. Our first problem was to list all partitions and Young diagrams of integers 1 through 7. We used my daughter’s blocks as well as simply grid paper and pencil – it is easy to visualize this process and draw all the steps:

n 1 2 3 4 5 6 7 p(n) 1 2 3 5 7 11 15

Here n is the integer and p(n) is the total number of partitions of n. The first three partitions are easy and kids had no trouble finding the only option for n = 1, two options , for n = 2 and three options , , for n = 3.

Interestingly, when the class was working on n = 4, some kids suggested that the p(n) should be the Fibonacci sequence which we studied in details last year. Unfortunately, after the number of partitions for n = 5 was computed, the hope to see Fibonacci again had faded away. In fact, the sequence of integer partitions is much more complicated than Fibonacci sequence and it is our goal for the next several classes to understand its symmetries. Here are the Young diagrams for n = 5 and n = 6: 12 PETER KOROTEEV

Remark. Note that out n! fixed points of T acting on Xn only for single point q we get a polynomial out of Vq.Othercoecient functions Vp remain infinite series which we shall further ignore. One can verify by examining (2.25) that in the n limit these coecient functions will be suppressed. A choice of fixed point q following!1 the large-n limits corresponds to zooming into a certain asymptotic region in which a a | S(1)| | S(2)| ··· a ,whereS S is a permutation corresponding to the choice of fixed point q. | S(n)| 2 n

qAAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA== AAAB8HicbVBNS8NAEN3Ur1q/qh69LBbBU0lEUG9FLx4rWFtsQ9lsJ+3SzSbuTsQS+i+8eFDx6s/x5r9x2+agrQ8GHu/NMDMvSKQw6LrfTmFpeWV1rbhe2tjc2t4p7+7dmTjVHBo8lrFuBcyAFAoaKFBCK9HAokBCMxheTfzmI2gjYnWLowT8iPWVCAVnaKX7DsITBmH2MO6WK27VnYIuEi8nFZKj3i1/dXoxTyNQyCUzpu25CfoZ0yi4hHGpkxpIGB+yPrQtVSwC42fTi8f0yCo9GsbalkI6VX9PZCwyZhQFtjNiODDz3kT8z2unGJ77mVBJiqD4bFGYSooxnbxPe0IDRzmyhHEt7K2UD5hmHG1IJRuCN//yImmcVC+q3s1ppXaZp1EkB+SQHBOPnJEauSZ10iCcKPJMXsmbY5wX5935mLUWnHxmn/yB8/kDhq2RBA==

q”AAAB8nicbVBNS8NAEJ34WetX1aOXYJF6KokI6q3oxWMFYwtNKJvtpl262cTdiVhC/4YXDype/TXe/Ddu2xy09cHA470ZZuaFqeAaHefbWlpeWV1bL22UN7e2d3Yre/v3OskUZR5NRKLaIdFMcMk85ChYO1WMxKFgrXB4PfFbj0xpnsg7HKUsiElf8ohTgkbyfWRPGEb5Q6027laqTt2Zwl4kbkGqUKDZrXz5vYRmMZNIBdG64zopBjlRyKlg47KfaZYSOiR91jFUkpjpIJ/ePLaPjdKzo0SZkmhP1d8TOYm1HsWh6YwJDvS8NxH/8zoZRhdBzmWaIZN0tijKhI2JPQnA7nHFKIqRIYQqbm616YAoQtHEVDYhuPMvLxLvtH5Zd2/Pqo2rIo0SHMIRnIAL59CAG2iCBxRSeIZXeLMy68V6tz5mrUtWMXMAf2B9/gBOsZFm

q’AAAB8XicbVBNS8NAEN3Ur1q/qh69LBbRU0lEUG9FLx4rGFtIQ9lsN+3SzW7cnYgl9Gd48aDi1X/jzX/jts1BWx8MPN6bYWZelApuwHW/ndLS8srqWnm9srG5tb1T3d27NyrTlPlUCaXbETFMcMl84CBYO9WMJJFgrWh4PfFbj0wbruQdjFIWJqQvecwpASsFHWBPEMX5w/G4W625dXcKvEi8gtRQgWa3+tXpKZolTAIVxJjAc1MIc6KBU8HGlU5mWErokPRZYKkkCTNhPj15jI+s0sOx0rYk4Kn6eyIniTGjJLKdCYGBmfcm4n9ekEF8EeZcphkwSWeL4kxgUHjyP+5xzSiIkSWEam5vxXRANKFgU6rYELz5lxeJf1q/rHu3Z7XGVZFGGR2gQ3SCPHSOGugGNZGPKFLoGb2iNwecF+fd+Zi1lpxiZh/9gfP5A+qTkTU=

Figure 2. Asymptotic regions of the space of GL(n) equivariant parame- ters. In the n limit, provided that (2.25) holds, we approach the given fixed point. !1

Remark. The above theorem has an interesting interpretation from the point of view of enumerative geometry viewpoint and Gromov-Witten theory in particular. Formulae like (2.10), which are closed cousins of Givental J-functions, serve as generating functions of the equivariant gravitational descendants of Xn.Dueto(2.25) the q-hypergeometric- type series truncate to polynomials thereby implying that these equivariant gravitational descendants vanish identically starting from some order in ⇣i’s. The parameters of the problem get adjusted in such a way that the equivariant volume of the moduli spaces of 3 quasimaps of degrees (d1,...,dn 1)whichexceed(1,...,n 1) become zero. . Partitions

Problem: Find all partitions of numbers 1,2,3,4,5,6,7 together with their Young diagrams 3

n=5 p(5)=7

A-TYPE QUIVER VARIETIES AND ADHM MODULI SPACES 13

A-TYPE QUIVER VARIETIES AND ADHM MODULI SPACES 13 3I thank A. Okounkov and S. Katz for interesting discussions on these matters. n=6 p(6)=11

1 Example. Let us look at the simplest example X2 = T ⇤P . The corresponding vertex Some kids found all 15 partitions of 7, if you have not done it in class1 then Problem: functionExample. is givenLet by us the look q-hypergeometric at the simplest example functionX2 = T ⇤P . The corresponding vertex complete the table for n = 7 at home. function is given by the q-hypergeometricq ap function d 2 ; q ⇣ ~ ai ap ap q ⇣ (1) 1 q ap d 1 (2.26) Vp = d 2 ; q =21 ~, ~ ,q ; q; . Problem 1. Odd and(1) distinct parts.⇣⇣12 We⇣~ observedaaip ⌘ in class thatapap¯ theapap¯ totalq ⇣1 number⇣2 of (2.26) V = d>0 i=1 ; q d = , ,q ; q; ~ . odd partitions is equal top the total✓ number◆ of distinctai partitions2 1 ✓~ ~ for each integer ◆n. Try X ⇣2 Y⇣ ap ⌘ d ap¯ ap¯ ~ ⇣2 d>0 ✓ ◆ i=1 ; q ✓ ◆ to understand why this is theX case. Y ⇣ai ⌘d (1) Here a1¯ = a2 and a2¯ = a1. One can⇣ easily⌘ see that Weyl reflection of sl2 interchanges V1 (1) (1) Hereand Va1¯ =.Thenwehavea2 and a2¯ = a1. One can easily see that Weyl reflection of sl2 interchanges V1 2(1) and V2 .Thenwehave ✓(⇣1,q) ✓(~⇣2,q) (1) (2.27) Vp = Vp . ✓(⇣a1,q⇣ ),q)✓✓(~(a⇣2,q⇣ ,q) ) · (1) (2.27) 2. OddV andp = Distinct1 1 Parts2 2 Vp . ✓(a1⇣1,q) ✓(a2⇣2,q) · 1 1 2 It is notThe clear condition at this ( moment2.23) reads whata1 is= theaq rule~ behind,a2 = aq the. sequence Then we of have partitions the followingp(n). Macdon- 1 1 2 Let us tryTheald instead polynomials condition to look (2.23 forat) subclasses some reads simplea1 = ofaq partitions tableaux.~ ,a2 and= aq understand. Then we if have they theform following a simpler Macdon- pattern. ald polynomials for some simple tableaux. V = ⇣1 + ⇣2, Define odd partitionVto be= ⇣ a1 partition+ ⇣2, whose all parts are odd, i.e. 3 = 1 + 1 + 1 (1 are odd), 4 = 3 + 1 (3 and 1 are odd),2 etc.2 ( Theq + 1)( partition~ 1) 4 = 2 + 2 is obviously not odd. V = ⇣21 + ⇣22 +(q + 1)(~ 1) ⇣1⇣2, Additionally define distinctV = ⇣1 partition+ ⇣2 + to beq~ a partition1 ⇣1⇣2, whose parts are mutually distinct q~ 1 (no two parts are the same): 4 = 3 + 1,2 5 = 3 + 2, 7 = 4 + 3 are2 distinct, however, 3 3 q2 + q +1 (~ 1) 2 2q + q +1 (~ 1) 2 3 = 1 + 1(2.28) + 1, 4 = 2 +V 2, 6= =⇣3 21 ++ 2⇣32 ++ 1 +q 1+ areq +12 not(~ distinct.1) ⇣22⇣1 +q + q +12 (~ 1) 2 ⇣2 ⇣1 . (2.28) V = ⇣1 + ⇣2 + q ~ 1 ⇣2⇣1 + q ~ 1 ⇣2 ⇣1 . Note that a partition can be odd and distinctq2~ at1 the same time (4 =q2~ 3 +1 1), only odd (2 = 1 +Here 1), only the distinct Young (6tableaux = 3 + 2 at + the 1), or subscripts neither odd have nor their distinct heights (6 =equal 2 + 2to + 1. + Without 1). loss Here the Young tableaux at the subscripts have their heights equal to .2 Without loss This observationof generality will be we important can assume to what= 0 follows. for all formulae. In other words, for2 T 1 the corre- of generality we can assume n= 0 for all formulae. In other words, for T ⇤1Pthe corre- Our nextsponding task was Macdonald to find all polynomials distinctn and depend all odd only partitions on one ininteger the list parameter of parts⇤ (so-called whichP Roger sponding Macdonald polynomials depend only on one integer parameter (so-called Roger we had generatedpolynomials earlier.4). Otherwise Here’s the the extended resulting table polynomial will simply be a product of the corre- polynomials4). Otherwise the resulting polynomial will simply be a product of the corre- sponding Macdonald polynomial and a simple factor depending on n. For instance sponding Macdonald polynomial and a simple factor depending on n. For instance 2 (2.29) V = ⇣2⇣1 + 2⇣2 = ⇣2V . (2.29) V = ⇣2⇣1 + ⇣2 = ⇣2V .

4 1 4To actually get Roger polynomials of one variable x one needs to put ⇣1 = ⇠ and ⇣1 = 1⇠ and multiply To actually get Roger polynomials of one variable x one needs to put ⇣1 = ⇠ and ⇣1 = ⇠ and multiply 2 the resulting expression expression by by⇠⇠2 4

odd distinct odd distinct odd distinct 7 7 5,1 6 5 5 5,1,1 6,1 3,3 5,1 3,1,1 4,1 3,3,1 5,2 3,1,1,1 4,2 1,1,1,1,1 3,2 3,1,1,1,1 4,3 1,1,1,1,1,1 3,2,1 1,1,1,1,1,1,1 4,2,1

odd distinct odd distinct 9 9 7,1 8 7,1,1 8,1 5,3 7,1 5,1,1,1 7,2 5,1,1,1 6,2 5,3,1 6,3 3,3,1,1 5,3 3,3,3 6,2,1 3,1,1,1,1,1 5,2,1 3,3,1,1,1 5,4 1,1,1,1,1,1,1,1 4,3,1 3,1,1,1,1,1,1 5,3,1 1,1,1,1,1,1,1,1,1 4,3,2 Table 1. Odd and Distinct partitions for n = 5, 6, 7, 8, 9

n 1 2 3 4 5 6 7 p(n) 1 2 3 5 7 11 15 # odd 1 1 2 2 3 # dist. 1 1 2 2 3 For example, for n = 4 partitions 4 = 1 + 1 + 1 + 1 and 4 = 3 + 1 are odd while 4 = 3 + 1 and 4 = 4 + 0 are distinct. Problem: Complete the last two rows of the above table if you have not done so in class. The pattern in the last two rows of the table was impossible to ignore – for each integer the number of odd partitions is equal to the number of distinct partitions! As it turns out this is not a coincidence, but a mathematical theorem, which (together with similar statements about partitions) we shall try to understand in the following weeks. From the last two rows of the table the pattern is clear – the number of odd partitions is equal to the number of distinct partitions. We now can prove this remarkable conjecture. In other words, we need to show that for any integer n for any odd partition there should be only one distinct partition and vice versa – for any distinct partition there is a unique odd partition. Mathematicians say the there is a one-to-one correspondence between the set of odd partitions and the set of distinct partitions. We started with listing odd and distinct partitions for every integer. For small numbers n = 1, 2, 3, 4 there are very few partitions of each kind, so we started making tables for numbers 5 and higher (see Table 2). 5

One needs to come up with a rule which will provide the desired 1-1 correspondence between left and right columns of the above partitions. This rule must be universal – it should work in the same way for any integer and for any partition. In class we started to make some guesses, but did not go far enough. 2.1. Odd and Distinct. Next lecture, after understanding the above connection, we shall study partitions which are odd and distinct at the same time. They will be related to some new type of partitions. Below I list all partitions of n = 9, 10, 11. The lists are getting quite long, so at this point it is not worth drawing Young diagrams. Problem: Find all partitions from the lists below which are simultaneously odd and distinct: n=9, p(9)=30 9 , 8, 1 , 7, 2 , 7, 1, 1 , 6, 3 , 6, 2, 1 , 6, 1, 1, 1 , 5, 4 , 5, 3, 1 , 5, 2, 2 , 5, 2, 1, 1 , { } { } { } { } { } { } { } { } { } { } { } 5, 1, 1, 1, 1 , 4, 4, 1 , 4, 3, 2 , 4, 3, 1, 1 , 4, 2, 2, 1 , 4, 2, 1, 1, 1 , 4, 1, 1, 1, 1, 1 , 3, 3, 3 , { } { } { } { } { } { } { } { } 3, 3, 2, 1 , 3, 3, 1, 1, 1 , 3, 2, 2, 2 , 3, 2, 2, 1, 1 , 3, 2, 1, 1, 1, 1 , 3, 1, 1, 1, 1, 1, 1 , 2, 2, 2, 2, 1 , { } { } { } { } { } { } { } 2, 2, 2, 1, 1, 1 , 2, 2, 1, 1, 1, 1, 1 , 2, 1, 1, 1, 1, 1, 1, 1 , 1, 1, 1, 1, 1, 1, 1, 1, 1 { } { } { } { } n=10, p(10)=42 10 , 9, 1 , 8, 2 , 8, 1, 1 , 7, 3 , 7, 2, 1 , 7, 1, 1, 1 , 6, 4 , 6, 3, 1 , 6, 2, 2 , 6, 2, 1, 1 , {{ } { } { } { } { } { } { } { } { } { } { } 6, 1, 1, 1, 1 , 5, 5 , 5, 4, 1 , 5, 3, 2 , 5, 3, 1, 1 , 5, 2, 2, 1 , 5, 2, 1, 1, 1 , 5, 1, 1, 1, 1, 1 , { } { } { } { } { } { } { } { } 4, 4, 2 , 4, 4, 1, 1 , 4, 3, 3 , 4, 3, 2, 1 , 4, 3, 1, 1, 1 , 4, 2, 2, 2 , 4, 2, 2, 1, 1 , 4, 2, 1, 1, 1, 1 , { } { } { } { } { } { } { } { } 4, 1, 1, 1, 1, 1, 1 , 3, 3, 3, 1 , 3, 3, 2, 2 , 3, 3, 2, 1, 1 , 3, 3, 1, 1, 1, 1 , 3, 2, 2, 2, 1 , 3, 2, 2, 1, 1, 1 , { } { } { } { } { } { } { } 3, 2, 1, 1, 1, 1, 1 , 3, 1, 1, 1, 1, 1, 1, 1 , 2, 2, 2, 2, 2 , 2, 2, 2, 2, 1, 1 , 2, 2, 2, 1, 1, 1, 1 , { } { } { } { } { } 2, 2, 1, 1, 1, 1, 1, 1 , 2, 1, 1, 1, 1, 1, 1, 1, 1 , 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 { } { } { }} n=11, p(11)=56 11 , 10, 1 , 9, 2 , 9, 1, 1 , 8, 3 , 8, 2, 1 , 8, 1, 1, 1 , 7, 4 , 7, 3, 1 , 7, 2, 2 , 7, 2, 1, 1 , {{ } { } { } { } { } { } { } { } { } { } { } 7, 1, 1, 1, 1 , 6, 5 , 6, 4, 1 , 6, 3, 2 , 6, 3, 1, 1 , 6, 2, 2, 1 , 6, 2, 1, 1, 1 , 6, 1, 1, 1, 1, 1 , 5, 5, 1 , { } { } { } { } { } { } { } { } { } 5, 4, 2 , 5, 4, 1, 1 , 5, 3, 3 , 5, 3, 2, 1 , 5, 3, 1, 1, 1 , 5, 2, 2, 2 , 5, 2, 2, 1, 1 , 5, 2, 1, 1, 1, 1 , { } { } { } { } { } { } { } { } 5, 1, 1, 1, 1, 1, 1 , 4, 4, 3 , 4, 4, 2, 1 , 4, 4, 1, 1, 1 , 4, 3, 3, 1 , 4, 3, 2, 2 , 4, 3, 2, 1, 1 , 4, 3, 1, 1, 1, 1 , { } { } { } { } { } { } { } { } 4, 2, 2, 2, 1 , 4, 2, 2, 1, 1, 1 , 4, 2, 1, 1, 1, 1, 1 , 4, 1, 1, 1, 1, 1, 1, 1 , 3, 3, 3, 2 , 3, 3, 3, 1, 1 , 3, 3, 2, 2, 1 , { } { } { } { } { } { } { } 3, 3, 2, 1, 1, 1 , 3, 3, 1, 1, 1, 1, 1 , 3, 2, 2, 2, 2 , 3, 2, 2, 2, 1, 1 , 3, 2, 2, 1, 1, 1, 1 , 3, 2, 1, 1, 1, 1, 1, 1 , { } { } { } { } { } { } 3, 1, 1, 1, 1, 1, 1, 1, 1 , 2, 2, 2, 2, 2, 1 , 2, 2, 2, 2, 1, 1, 1 , 2, 2, 2, 1, 1, 1, 1, 1 , 2, 2, 1, 1, 1, 1, 1, 1, 1 , { } { } { } { } { } 2, 1, 1, 1, 1, 1, 1, 1, 1, 1 , 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 { } { }} 6

Problem 2. Odd and distinct parts. Find a rule which identifies odd and distinct partitions from Table 2. Hint: Start with distinct partitions. Recall that some of them are odd already. So, perhaps, we can just leave them like that – say 6 = 5 + 1 is odd already. Now let’s take a distinct partition which has some even numbers in it, say 8 = 5 + 2 + 1. In this partitions parts 5 and 1 are already odd, so, again, we can leave them out. What shall we do with 2? What shall we do with 6 in 7 = 6 + 1, etcetera? Once you understand how to get an odd partition from a distinct partition go the other way. Which distinct partition does 5 = 3 + 1 + 1 or 6 = 1 + 1 + 1 + 1 + 1 + 1 correspond to? 2.2. Proof of Odd vs. Distinct. Our first task in class was to prove that for any integer n the number of distinct partitions is equal to the number of odd partitions as the table below suggests: n 1 2 3 4 5 6 7 8 9 p(n) 1 2 3 5 7 11 15 22 30 # odd 1 1 2 2 3 4 5 6 8 # dist. 1 1 2 2 3 4 5 6 8 We started with listing odd and distinct partitions for every integer. For small numbers n = 1, 2, 3, 4 there are very few partitions of each kind, so we started making tables for numbers 5 and higher (see Table 2).

odd distinct odd distinct odd distinct 7 7 5,1 6 5 5 5,1,1 6,1 3,3 5,1 3,1,1 4,1 3,3,1 5,2 3,1,1,1 4,2 1,1,1,1,1 3,2 3,1,1,1,1 4,3 1,1,1,1,1,1 3,2,1 1,1,1,1,1,1,1 4,2,1

odd distinct odd distinct 9 9 7,1 8 7,1,1 8,1 5,3 7,1 5,1,1,1,1 7,2 5,1,1,1 6,2 5,3,1 6,3 3,3,1,1 5,3 3,3,3 6,2,1 3,1,1,1,1,1 5,2,1 3,3,1,1,1 5,4 1,1,1,1,1,1,1,1 4,3,1 3,1,1,1,1,1,1 5,3,1 1,1,1,1,1,1,1,1,1 4,3,2 Table 2. Odd and Distinct partitions for n = 5, 6, 7, 8, 9 7

One needs to come up with a rule which will provide the desired 1-1 correspondence between left and right columns of the above partitions. This rule must be universal – it should work in the same way for any integer and for any partition. From Distinct to Odd. First, consider a distinct partition from any of the right columns from the table. If this partition happens to be odd (remember, all numbers are odd), i.e. 5, 3, 1 or 7, then we do not need to do anything about it – exactly the same partition exists in the left column. All other distinct partitions will have some even numbers in them, like 7, 2 or 4, 3, 1. Again we only need to worry about even numbers in these partitions and leave out the odd numbers. After a short discussion in class we agreed on the following rules: 2 1, 1 → 4 1, 1, 1, 1 → 6 3, 3 → 8 1, 1, 1, 1, 1, 1, 1, 1 → Then the students were quickly able to explain the rule – each even number can be divided by 2. If the result is odd, as in 6 : 2 = 3, then we represent this number as the sum of two odd numbers (6 = 3 + 3 or 10 = 5 + 5). If the result of the division is even, we divide by 2 again. We stop the division process until we get an odd number. We can see that if the initial even number was a power of 2 (2,4,8,16, etc) then we will divide it by 2 until we get 1. This is why 4 = 1 + 1 + 1 + 1 and 8 is a sum of eight 1s. Keeping the above rule in mind we have the following matching of the partitions of 8: 8 1, 1, 1, 1, 1, 1, 1, 1 → 7, 1 7, 1 → 6, 2 3, 3, 1, 1 → 5, 3 5, 3 → 5, 2, 1 5, 1, 1, 1 → 4, 3, 1 3, 1, 1, 1, 1, 1 → Note that we may need to reorder the terms to keep the resulting odd partitions in the standard form (numbers are listed in non-increasing order). From Odd to Distinct. Now we need to find a map from every partition in the left column (odd) to a partition from the right column (distinct) such that no two partitions are mapped to the same one. First, if an odd partition is distinct already then we simply map to the same partition in the right column. Second, if we have some repetitive numbers, like in partition 3, 1, 1, 1, 1 of 7, we need to combine them in such a way that the resulting partition will be distinct. There is obviously some ambiguity in this process. Indeed, four 1s can be combined either into 8

3, 1 or into 4 (they cannot be combined into 2, 2 as this is not distinct). In class we kept both options open until we tried to match the partitions explicitly from Table 2. Turns out 1, 1, 1, 1 3, 1 is not a good option. Indeed, we already have 3 in some partitions, so grouping four→ 1s into 3 and 1 will not make the resulting partition distinct. Similarly, we should not group six 1s intro 5 and 1 as some odd partitions may have 5 in them already. In short, one should avoid all odd numbers except 1 (the latter is inevitable if we deal with the odd amount of 1s in the odd partition). After some discussion we proposed the following dictionary of mapping groups of 1s into distinct subpartitions: 1 1 → 1, 1 2 → 1, 1, 1 2, 1 → 1, 1, 1, 1 4 → 1, 1, 1, 1, 1 4, 1 → 1, 1, 1, 1, 1, 1 4, 2 → 1, 1, 1, 1, 1, 1, 1 4, 2, 1 → 1, 1, 1, 1, 1, 1, 1, 1 8 → 1, 1, 1, 1, 1, 1, 1, 1, 1 8, 1 → This rule can be summarized as follows. Denote the amount of 1s by L. If L is even then we group L 1s into groups of two 1s. For instance, for six 1s we have 1, 1, 1, 1, 1, 1 (1, 1) (1, 1) (1, 1) → Then we count the number of these groups. If this number is odd (as it is above) then we leave out one group and combine the others into groups of four 1s (1, 1) (1, 1) (1, 1) (1, 1, 1, 1) (1, 1) = 4, 2 → We can keep the process of grouping until we have only one group left. Now assume that L is odd. Then L 1 is even and we proceed as above. For instance nine 1s become − 1, 1, 1, 1, 1, 1, 1, 1, 1 (1, 1) (1, 1) (1, 1) (1, 1), 1 (1, 1, 1, 1) (1, 1, 1, 1), 1 (1, 1, 1, 1, 1, 1, 1, 1), 1 = 8, 1 → → → Since most kids knew about powers of two we immediately understood that after ap- plying the above rules the numbers which appear in the resulting distinct partitions are powers of two – 20 = 1, 21 = 2, 22 = 4, 23 = 8,... . Therefore we have (re)discovered binary presentation of integers – each number (in this problem the number of times 1 appears – the so-called multiplicity) is a sum of powers of two: 3 = 21 + 20 , 5 = 22 + 20 , 8 = 23 . Finally we need to address other repetitive odd integers from the left columns. If we have, say, 5, 5, 5 or 7, 7, 7, 7 inside an odd partition we can first replace them with 1s and 9 proceed as above and then multiply the resulting distinct partitions by the corresponding odd number. For example, 5 + 5 + 5 = 5 (1 + 1 + 1) 5 (2 + 1) = 10 + 5 × → × or 7 + 7 + 7 + 7 = 7 (1 + 1 + 1 + 1) 7 4 = 28 × → × This concludes the proof. 2.3. Odd & Distinct. Now let us study partitions which are odd and distinct at the same time. They will be related to some new type of partitions. Previously I listed all partitions of n = 9, 10, 11 and more partition are given in the accompanying PDF file. We can see that imposing both odd and distinct conditions at the same time leaves out only very few partitions. Thus for n = 9 we only have 9 and 5, 3, 1 , for n = 10 we get 9, 1 and 7, 3 , while for n = 11 one gets 11 and{ 7}, 3, 1 {. } { } { } { } { } 3. Symmetric Partitions Towards the end of the class we talked about symmetric partitions which do not change under reflection along the diagonal (see the Keynote file). In particular, partitions

and are symmetric, but partitions or are not. In class we counted symmetric partitions for some integers and found that their number coincides with the number of odd and distinct partitions for the same integer! Based on our experience this cannot be a coincidence and it should hold in general.

Problem 3. Odd and distinct vs. Symmetric. Explain why for each integer n the number of odd and distinct partitions of n is equal to the number of symmetric partitions of n. Hint: Draw Young diagrams for each type of partitions. You may use the list of partitions from the accompanying PDF for that.

Our new task was to study integer partitions which are odd and distinct at the same time. We observed previously that they should match with symmetric partitions. Now we are ready to prove that this is indeed the case. The students were puzzled in the beginning so we started to list all symmetric and all odd and distinct partitions on the board. We skipped small integers and started with n = 7, see Table 3. We used toy blocks as well as grid paper to visualize partitions in the left column and lists of integer partitions from the last homework to understand the right column. 10

n Symmetric Odd&Distinct

7

8

9

10

11

12 Table 3. List of symmetric vs. odd and distinct partitions for n = 7,..., 12.

We can see that the number of partitions in both columns of Table 3 grows much slower than the number of partitions with only odd parts: 11

n 1 2 3 4 5 6 7 8 9 10 11 12 p(n) 1 2 3 5 7 11 15 22 30 42 56 77 # odd 1 1 2 2 3 4 5 6 8 10 12 15 # distinct 1 1 2 2 3 4 5 6 8 10 12 15 # symmetric 1 0 1 1 1 1 1 2 2 2 2 3 # odd&distinct 1 0 1 1 1 1 1 2 2 2 2 3

Then we tried to understand how using these pictures to match the two columns. We did not finish so this task carries over to the homework. First, we need to finish the proof of the above statement. Problem 4. Odd and distinct vs. Symmetric. Explain why for each integer n the number of odd and distinct partitions of n is equal to the number of symmetric partitions of n. You can easily check that you understand how to prove it if you can easily find which symmetric partition corresponds to a given odd and distinct partition and vice versa. Say, you are given partition 5, 4, 3, 2, 1 of 15 which is symmetric (if in doubt draw its Young diagram, it looks like{ a staircase).} Which odd and distinct Young diagram (or partition) will it correspond to? Conversely, say we have 11, 5, 3, 1 which is odd and distinct. Find the corresponding symmetric partition. { } 3.1. Summary table. We started our class by reviewing our progress up to date which is summarized in the table below n 1 2 3 4 5 6 7 8 9 10 11 12 p(n) 1 2 3 5 7 11 15 22 30 42 56 77 # odd 1 1 2 2 3 4 5 6 8 10 12 15 # distinct 1 1 2 2 3 4 5 6 8 10 12 15 # symmetric 1 0 1 1 1 1 1 2 2 2 2 3 # odd&distinct 1 0 1 1 1 1 1 2 2 2 2 3

Thus the number of odd partitions is equal to the number of distinct partitions and the number of symmetric matches the number of odd and distinct. 3.2. Proof that Odd&Distinct= Symmetric. In order to finish the proof from the last class we nee to construct the map backwards – given any odd and distinct partition we should be able to construct a unique symmetric partition. Keep in mind that the one- to-one correspondence exists provided that we can make identifications in both directions! In this case the inverse mapping is more or less straightforward – we can merely reverse the arrows in the previous argument. Indeed, since each part of the red partition is odd we can ‘bend’ each column into an L-shaped hook. Since all parts are distinct we can then stack all hooks one on top of each other in the same order as in the partition. 3

One can see that the remaining entries in the table can be matched accordingly. We can easily repeat this exercise for any symmetric partition (we did an example of a larger partition in class). 1.2. Odd&Distinct to Symmetric. In order to finish the proof we nee to construct the map backwards – given any odd and distinct partition we should be able to construct a unique symmetric partition. Keep in mind that the one-to-one correspondence exists provided that we can make identifications in both directions! In this case the inverse mapping is more or less straightforward – we can merely reverse the arrows in the previous argument. Indeed, since each part of the red partition is odd we can ‘bend’ each column12 into an L-shaped hook. Since all parts are distinct we can then stack all hooks oneFor on instance top in the of example each below other we have partition in the5, 3, 1 samebecomes order symmetric par- as in the partition. For tition 3, 3, 3 . The number of parts in the red partition{ is equal} to the number of hooks instance in the examplein the below{ green partition:} we have partition 5, 3, 1

7! becomes symmetric partition 3, 3, 3. The number of parts in the red partition is equal to If you understood the proof solve the following the number of hooks inProblem: the greenFind symmetric partition. partition which corresponds to the following odd and dis- tinct partition 19, 17, 15, 13, 11, 9, 7, 5, 3, 1 { }

3.3. First part > Second part. Our next problem was the following: Count partitions of n such that the first part is strictly greater than the second. For instance, for partitions 3, 2, 1 , 5, 2, 1, 1 , 4 this condition is satisfied (if there is only one part, as in 4 we count{ it} as{ well).} However,{ } for partitions 2, 2, 1 , 3, 3, 3 the first and second parts{ } are equal, so we do not count them. Notice{ that we} { do not} worry about how second and third, third and fourth, etc parts are related. We used the first slide of the Keynote to do the counting and quickly came up with the following table (here we denoted the total number of such partitions with Q(n))

n 1 2 3 4 5 6 7 8 Q(n) 1 1 2 3 5 7 11 15

In particular, for n = 4 out of five partitions only in 2, 1, 1 , 3, 1 and 4 their first parts are strictly greater than the second parts. We then{ asked} { the students} { if} they have 13 seen these numbers earlier and the answer was affirmative – these are the numbers of all partitions of n albeit shifted by one position. Indeed, if we complete the above table we get

n 1 2 3 4 5 6 7 8 Q(n) 1 1 2 3 5 7 11 15 p(n) 1 2 3 5 7 11 15 22

Or, in other words, Q(n) = p(n 1). We then needed to explain why this happens. Problem: Show that this is indeed− the case. Problem 5. Consider the following two types of partitions of n: (1) Partitions whose parts are not divisible by 3. For instance: 2, 2, 2, 2 , 5, 1, 1, 1 , 2, 2, 1, 1, 1, 1 (2) Partitions{ in} which{ each} { part is not repeated} 3 or more times. For example: 5, 3 , 3, 3, 1, 1 , 3, 2, 2, 1 { } { } { } Find out if there is any connection between (1) and (2).

Problem 6. Find the sum 2 + 4 + 6 + ... + 198 + 200. Problem 7. How many consecutive odd numbers are in the sum 1+3+5+ +117+119? Find the following sum of consecutive odd numbers 1 + 3 + 5 + + 117··· + 119. ··· 4. Binaries We started our class with reminding ourselves about binary presentation of integers. In fact, we already used the results of the following problem two classes ago when we compared odd partitions with distinct partitions. Problem 8. Powers of two. Consider the 1, 2, 4, 8, 16, 32, 64, 128,... . Recall that in class we understood that these are integer powers of two, i.e. 4 = 22, 32 = 25 and by convention 1 = 20 (the only odd number in the list). Can you figure out a way to add up some of these numbers taking each number at most one time to get 93, 62, 127? Is there more than one way to do that? The students quickly found 93 = 64 + 16 + 8 + 4 + 1, 62 = 32 + 16 + 8 + 4 + 2, 127 = 64 + 32 + 16 + 8 + 4 + 2 + 1. Most of the students intuitively knew that the above solution is unique, however, it took some time to say it out loud. The key was that if you look at the sums of the first one, two, three, four, etc. of the powers of two, we get the following: 14

1 = 1 < 2, 1 + 2 = 3 < 4, 1 + 2 + 4 = 7 < 8, 1 + 2 + 4 + 8 = 15 < 16, 1 + 2 + 4 + 8 + 16 = 31 < 32, 1 + 2 + 4 + 8 + 16 + 32 = 63 < 64, 1 + 2 + 4 + 8 + 16 + 32 + 64 = 127 < 128, So, for example, when we write 93 = 64 + 16 + 8 + 4 + 1, if we try to replace the 64 with some of the other numbers, we cannot do it because even using all the numbers less than 64 in the list, we cannot get all the way up to 64, and by then we will have used up all eligible numbers! The same can be said for 16, 8, 4, and 1. So any number that can be written as a sum of these, can be written as a sum of these in exactly one way!

Problem 9. Calculate the sum 1 + 2 + 3 + ... + 1000.

Problem 10. Calculate 1 + 5 + 9 + 13 + 17 + 21 + 25? 1 + 5 + 9 + 13 + + 401? Note that in both sums we pick every other odd number. Hint: Use the connection··· between odd&distinct and symmetric partitions.

Problem 11. Divisibility by 4 and 5. Show that the Glashier’s theorem (see previous lecture notes, there we proved it for parts which are not divisible by 3) holds for n = 4 or n = 5. You may use partitions of n from the list that we gave you couple of lectures ago.

5. Sums from Partitions. Figurate Numbers Last lecture have proven the formula using square numbers: (1) 1 + 3 + 5 + 7 + 9 + 11 + 13 + 15 + 17 + 19 = 100 , so that the sum of the first ten odd integers is equal to 102 = 10 10 = 100. Or, more generally, if we sum all k odd numbers which appear between 1 and× 2k we get 1 + 3 + + (2k 1) = k2 . ··· − 5.1. Gauss Method. There is also another way of counting sums like this using the Gauss’ method which was reportedly invented by early Karl F. Gauss (German mathe- matician) when he was in elementary school. Let us look at equation (1) to illustrate the method (Gauss himself summed 1 + 2 + 3 + + 99 + 100, see below). There are ten numbers in the sum which can be combined into··· five paris 1 + 19, 3 + 17, 5 + 15, 7 + 13, 9 + 11, Clearly the sum of the numbers in each pair is 20. Since there are five pairs the answer is 100. Consider another example: 1 + 2 + 3 + + 99 + 100 ··· 15

Again, we can combine first and the last number – 1 + 100, second and the one before last 2 + 99, etcetera. Each pair amounts to 101 and there are 50 pair in total hence the answer is 50 101 = 5050. Here in both× examples we had even amount of numbers in the sums. If the total amount is odd, there will be one number remaining in the middle, which should be added in the end, see below.

5.2. Triangular Numbers. Now let us calculate

1 + 5 + 9 + 13 + 17 + 21 + 25 where we sum every other odd number between 1 and 25 (skipping 3,7,11,15,19 and 23). The students quickly calculated the sum and obtained 91. If we use Gauss method we’ll have three pairs 1 + 25, 5 + 21 and 9 + 17 equal to 26 each and we need to add 13 in from the middle to get 3 26 + 13 = 91. It is instructive to× do the same exercise using partitions. Consider odd and distinct partition 25,21,17,13,9,5,1 . { }

If we convert it to a symmetric partition (check Lecture 4 if you forgot) we’ll get the following partition 13,12,11,10,9,8,7,6,5,4,3,2,1 { } htw aelandaotFbncinmesls ure i o eetee r ofind to try there) were you (if quarter last numbers for Fibonacci partitions about learned integer have of we what number total of list for holds 3) 5. by Problem divisible not are which parts for it proved n we there notes, lecture 4. Problem 3. Problem 2. Problem 1. Problem 1.3. which the diagram In triangular column rectangle. another one a diagram to and green right above or row actual the square one of a by an top to smaller on become shape is put this will can complete we staircase, it to case a first need then of we blocks that more realized of it’s quickly middle almost, number. triangular (well, the – triangle in name a the dots of hence put triangle), shape you a if has however, diagram Young the So get we’ll forgot) you if 2 .Yumyuepriin of partitions use may You 5. = oeta nti u epc vr te d number. odd other every pick we sum this in that Note 1+5+9+13+ Students counting? without triangle this in blocks of number the know we can How etgnNumbers. Pentagon htw aelandaotFbncinmesls ure i o eetee r ofind to try there) were you (if quarter last numbers for Fibonacci partitions about learned integer have of we what number total of list for holds 3) 5. by Problem divisible not are which parts for it proved n we there notes, lecture 4. Problem 3. Problem 2. Problem 1. Problem 1.3. which the diagram In triangular column rectangle. another one a diagram to and green right above or row actual the square one of a by an top to smaller on become shape is put this will can complete we staircase, it to case a first need then of we blocks that more realized of it’s quickly middle almost, number. triangular (well, the – triangle in name a the dots of hence put triangle), shape you a if has however, diagram Young the So get we’ll forgot) you if 2 .Yumyuepriin of partitions use may You 5. = oeta nti u epc vr te d number. odd other every pick we sum this in that Note 1+5+9+13+ Students counting? without triangle this in blocks of number the know we can How etgnNumbers. Pentagon aclt h u 2+15 + 12 + Calculate 9 + 6 + 3 sum the + Calculate 3 + 2 + 1 sum the Calculate iiiiiyb n 5. and 4 by Divisibility eusv oml o ubro partitions of number for formula Recursive 16

So the··· Young diagram has a shape of a triangle (well, almost, it’s more of a staircase, aclt h u 2+15 + 12 + Calculate 9 + 6 + 3 sum the + Calculate 3 + 2 + 1 sum the Calculate iiiiiyb n 5. and 4 by Divisibility however, if you put partitions of dots number for formula Recursive in the middle of blocks then it will become an actual right +401 {

triangle), hence the name – . 13,12,11,10,9,8,7,6,5,4,3,2,1

How can we know the number of blocks in··· this triangle without counting? Students 2 quickly realized that we need to complete this shape to a square or to a rectangle. In the +401 {

first case we can put on top of the above green diagram another triangular diagram which 13,12,11,10,9,8,7,6,5,4,3,2,1 htw aelandaotFbncinmesls ure i o eetee r ofind to try there) were you (if quarter last numbers for Fibonacci partitions about learned integer have of we what number total of list for holds 3) 5. by Problem divisible not are which parts for it proved n we there notes, lecture 4. Problem 3. Problem 2. Problem 1. Problem 1.3. which the diagram In triangular column rectangle. another one a diagram to and green right above or row actual the square one of a by an top to smaller on become shape is put this will can complete we staircase, it to case a first need then of we blocks that more realized of it’s quickly middle almost, number. triangular (well, the – triangle in name a the dots of hence put triangle), shape you a if has however, diagram Young the So get we’ll forgot) you if 2

n if you forgot)is smaller we’ll by one get row13,12,11,10,9,8,7,6,5,4,3,2,1 and one column

.Yumyuepriin of partitions use may You 5. = 2 oeta nti u epc vr te d number. odd other every pick we sum this in that Note 1+5+9+13+ Students counting? without triangle this in blocks { of number the know we can How } rmtels htw aeyucul flcue ago. lectures of couple you gave we that list the from etgnNumbers. Pentagon Homework if you forgot) we’ll get 13,12,11,10,9,8,7,6,5,4,3,2,1 htw aelandaotFbncinmesls ure i o eetee r ofind to try there) were you (if quarter last numbers for Fibonacci partitions about learned integer have of we what number total of list for holds 3) 5. by Problem divisible not are which parts for it proved n we there notes, lecture 4. Problem 3. Problem 2. Problem 1. Problem 1.3. which the diagram In triangular column rectangle. another one a diagram to and green right above or row actual the square one of a by an top to smaller on become shape is put this will can complete we staircase, it to case a first need then of we blocks that more realized of it’s quickly middle almost, number. triangular (well, the – triangle in name a the dots of hence put triangle), shape you a if has however, diagram Young the So get we’ll forgot) you if 2 n hwta h lsirsterm(e previous (see theorem Glashier’s the that Show { } .Yumyuepriin of partitions use may You 5. = oeta nti u epc vr te d number. odd other every pick we sum this in that Note 1+5+9+13+ Students counting? without triangle this in blocks of number the know we can How rmtels htw aeyucul flcue ago. lectures of couple you gave we that list the from ··· etgnNumbers. Pentagon n Homework aclt h u 2+15 + 12 + Calculate 9 + 6 + 3 sum the + Calculate 3 + 2 + 1 sum the Calculate iiiiiyb n 5. and 4 by Divisibility eusv oml o ubro partitions of number for formula Recursive =1 +999. hwta h lsirsterm(e previous (see theorem Glashier’s the that Show ,..., } ··· ··· n ··· aclt h u 2+15 + 12 + Calculate 9 + 6 + 3 sum the + Calculate 3 + 2 + 1 sum the Calculate iiiiiyb n 5. and 4 by Divisibility eusv oml o ubro partitions of number for formula Recursive =1 +999. +75. +401 0 sn oriaiainand imagination your Using 30. { 13,12,11,10,9,8,7,6,5,4,3,2,1 ,..., So theThis Young way diagram we get a square has a 13 shape13 which of a triangle has 169 blocks (well, in almost, it. However, it’s more we only of need a staircase, to } ··· ··· × 2 however,count if green you put blocks. dots Clearly, in the one middle cannot divide of blocks 169 by then 2 to itget will an integer. become Therefore, an actual we right +75. +401 { need to remove the and imagination your diagonal Using 30. which contains 13 green blocks so the square without the

triangle), hence the name – triangular number. 13,12,11,10,9,8,7,6,5,4,3,2,1 eo o a n the find can you Below So the Young diagram has a shape of a triangle (well, almost, it’s more of a staircase, diagonal has 169-13= 156 blocks. Half of that is 78 (cf. with the calculation above using n if you forgot) we’ll get 13,12,11,10,9,8,7,6,5,4,3,2,1How can we know the number of blocks in this triangle without counting? Students { 2 Gauss’ method).} Finally we add thehowever, diagonal if to you complete put dots the answer: in the 78+13 middle = 91. of blocks then it will become an actual right rmtels htw aeyucul flcue ago. lectures of couple you gave we that list the from quickly realized that we need to completetriangle), this hence shape the to namea square – triangular or to a rectangle. number. In the

Homework Yet a faster way to solve the problem is to complete the staircase to a rectangle instead

iffirst you case forgot)simply we can by we’ll sliding put get on a mirror13,12,11,10,9,8,7,6,5,4,3,2,1 top the find can you ofBelow copy the aboveof theHow same green can staircase diagram we know from another the above: number triangular of blocks diagram in this which triangle without counting? Students n hwta h lsirsterm(e previous (see theorem Glashier’s the that Show is smaller by one row and{ one column }

rmtels htw aeyucul flcue ago. lectures of couple you gave we that list the from quickly realized that we need to complete this shape to a square or to a rectangle. In the ··· n Homework first case we can put on top of the above green diagram another triangular diagram which n =1 +999.

hwta h lsirsterm(e previous (see theorem Glashier’s the that Show is smaller by one row and one column =4or ,..., } ··· ··· n n =1 +999. +75. 0 sn oriaiainand imagination your Using 30. =4or ,..., So the Young diagram has a shape of a triangle (well, almost, it’s more of a staircase, } ··· however, if you put dots in the middle of blocks then it will become an actual right +75. triangle), hence the name and imagination your Using 30. – triangular number. eo o a n the find can you Below So theIn Young this figure diagram the rectangle has a has shape width of 14 a and triangle height (well,13, it contains almost, 13 it’s14 blocks.more of However, a staircase, How can we know the number of1.3. blocksPentagon in this triangle Numbers. without counting? Students 13 14× however,we if only you need put to countdots ingreen the blocks middle which of is blocks exactly then one half: it will×2 become= 13 7 an = 91. actual right quickly realized that we need to complete this shape to a square or to a rectangle. In the × triangle),5.3. henceMore the fun name with partitions. – triangularOurHomework number. next story is about how many parts each partition

eo o a n the find can you Below 1.3. Pentagon Numbers. first case we can put on top of the aboveHow greenof can an diagram integerwe know has. another the Say, number partition triangular of7, blocks6, diagram5, 1 has in this four which parts triangle and fourwithout is an even counting? number. Students Or is smaller by one row and one columnquicklyProblem realized9, 8 1.hasCalculate two that parts, we theneed and sum two to is complete 1 even.{ + 2 + Thus 3 this} + we shape can+999. put to them a square into a type or to of a partitions rectangle. with In the { } ··· Homework first caseeven we number can put of onparts top. Analogously of the above we can green count diagram partitions another with odd triangular number of diagram parts, i.e. which n Problem8 has 2. Calculate one part, 9 the, 7, 2 sumhas 3 three + 6 parts + 9 + or 125 +, 4, 153, 2, 1 +75.has five parts – all numbers of is smaller{ } by one row and{ one} columnProblem{ 1. Calculate} the sum 1 + 2 + 3 + +999. =4or ··· parts are odd. ··· Problem 3. Calculate Problem 2. Calculate the sum 3 + 6 + 9 + 12 + 15 +75. n 1+5+9+13+ +401 ···

=4or ··· Note that in this sum we pick everyProblem other odd 3. Calculate number. 1+5+9+13+ +401 Problem 4. Divisibility by 4 andNote 5. Show that that in this the··· sum Glashier’s we pick theorem every other (see oddprevious number. 1.3. Pentagon Numbers. lecture notes, there we proved it for parts which are not divisible by 3) holds for n =4or n = 5. You may use partitions of nProblemfrom the list 4. thatDivisibility we gave you by 4 couple and 5. of lecturesShow that ago. the Glashier’s theorem (see previous 1.3.HomeworkPentagon Numbers. lecture notes, there we proved it for parts which are not divisible by 3) holds for n =4or Problem 5. Recursive formulan for= 5. number You may of use partitions partitionsBelow of n from you canthe list find that the we gave you couple of lectures ago. Problem 1. Calculate the sum 1 + 2 + 3 + +999. list of total··· number of integer partitionsHomework for n =1,...,30. Using your imagination and what we have learned about Fibonacci numbers last quarter (if you were there) try to find Problem 2. Calculate the sum 3 + 6 + 9 + 12 + 15 +75. Problem 5. Recursive formula for number of partitions Below you can find the Problem 1. Calculate··· the sum 1 + 2 + 3 + +999. list of total··· number of integer partitions for n =1,...,30. Using your imagination and Problem 3. Calculate what we have learned about Fibonacci numbers last quarter (if you were there) try to find Problem 2. Calculate the sum 3 + 6 + 9 + 12 + 15 +75. 1+5+9+13+ +401 ··· ··· Note that in this sum we pick everyProblem other odd 3. Calculate number. 1+5+9+13+ +401 Problem 4. Divisibility by 4 andNote 5. Show that that in this the··· sum Glashier’s we pick theorem every other (see oddprevious number. lecture notes, there we proved it for parts which are not divisible by 3) holds for n =4or n = 5. You may use partitions of nProblemfrom the list 4. thatDivisibility we gave you by 4 couple and 5. of lecturesShow that ago. the Glashier’s theorem (see previous lecture notes, there we proved it for parts which are not divisible by 3) holds for n =4or Problem 5. Recursive formulan for= 5. number You may of use partitions partitionsBelow of n from you canthe list find that the we gave you couple of lectures ago. list of total number of integer partitions for n =1,...,30. Using your imagination and what we have learned about FibonacciProblem numbers 5. lastRecursive quarter (if formula you were for there) number try to find of partitions Below you can find the list of total number of integer partitions for n =1,...,30. Using your imagination and what we have learned about Fibonacci numbers last quarter (if you were there) try to find 17

Problem: Count and draw partitions with odd distinct parts and with even distinct parts for n = 5, 6, 7, 8, 9, 10, 11, 12, 13. You may use lists of partitions provided to you in earlier lectures. Explain the pattern that you see. In class we only started drawing their Young diagrams on the board and found that for some numbers the number of partitions of both types is the same, however, for some integers the number is different by one. In the separate attachment you can find the list of partitions for n = 7, 8, 9. Notice that for n = 8 and n = 9 both types contain equal number of partitions, however, for n = 7 there are two odd and three even partitions. In class we drew Young diagrams to illustrate both types of partitions and tried to find a match between the two types where possible (we still need to explain the mismatch for n = 7 and n = 12 which we also did in class). For instance, for n = 8 we have the following distinct odd partitions (again, here odd means with odd numbers of parts, we don’t worry about parity of each individual part)

and the following even-parted partitions

The first list of partitions has odd number of columns (1 or 3), while the second list has two columns. In this case one can easily match three red partitions with three blue partitions by throwing the bottom-right block in the last column (if it is there) on top of the first column:

7→ 7→ 7→

Try this trick with distinct partitions for other n (see the attachment for higher n). See why n = 5, 7, 12,... are special.

Problem 12. Calculate the sum 1 + 2 + 3 + + 999. ··· Problem 13. Calculate the sum 3 + 6 + 9 + 12 + 15 + 75. ··· 18

Problem 14. Calculate 1 + 5 + 9 + 13 + + 401 Note that in this··· sum we pick every other odd number.

5.4. Triangular and Square Numbers. In class we have discussed triangular, square and pentagonal numbers in connection with integer partitions. While the appearance of the former two numbers is not surprising since a symmetric partition can take a shape of a triangle or a square (see previous lectures and the keynote file for figures) it is not clear yet how pentagons may arise. We started with filling in the table of triangular Tn and square Sn numbers and tried to spot patterns in what we saw

n 1 2 3 4 5 6 7 8 9 10 11 12 13

Tn 1 3 6 10 15 21 28 36 45 55 66 78 91 Sn 1 4 9 16 25 36 49 64 81 100 121 144 169

Here Tn stands for the n-th triangular number, so T5 = 15,T9 = 45, etcetera. Same for square numbers: S4 = 16,S12 = 144. You first locate the value of n in the table and then find the corresponding values of Tn and Sn below it. The students quickly found the following patterns htw aelandaotFbncinmesls ure i o eetee r ofind to try there) were you (if quarter last numbers for Fibonacci partitions about learned integer have of we what number total of list for holds 3) 5. by Problem divisible not are which parts for it proved n we there notes, lecture 4. Problem 3. Problem 2. Problem 1. Problem 1.3. which the diagram In triangular column rectangle. another one a diagram to and green right above or row actual the square one of a by an top to smaller on become shape is put this will can complete we staircase, it to case a first need then of we blocks that more realized of it’s quickly middle almost, number. triangular (well, the – triangle in name a the dots of hence put triangle), shape you a if has however, diagram Young the So get we’ll forgot) you if 2 .Yumyuepriin of partitions use may You 5. = oeta nti u epc vr te d number. odd other every pick we sum this in that Note 1+5+9+13+ Students counting? without triangle this in blocks of number the know we can How

Sum of two neighboring triangular Numbers. Pentagon numbers is a . htw aelandaotFbncinmesls ure i o eetee r ofind to try there) were you (if quarter last numbers for Fibonacci partitions about learned integer have of we what number total of list for holds 3) 5. by Problem divisible not are which parts for it proved n we there notes, lecture 4. Problem 3. Problem 2. Problem 1. Problem 1.3. which the diagram In triangular column rectangle. another one a diagram to and green right above or row actual the square one of a by an top to smaller on become shape is put this will can complete we staircase, it to case a first need then of we blocks that more realized of it’s quickly middle almost, number. triangular (well, the – triangle in name a the dots of hence put triangle), shape you a if has however, diagram Young the So get we’ll forgot) you if 2 .Yumyuepriin of partitions use may You 5. = oeta nti u epc vr te d number. odd other every pick we sum this in that Note 1+5+9+13+ Students counting? without triangle this in blocks of number the know we can How

(2) Tn + Tn+1 = Sn+1 , Numbers. Pentagon aclt h u 2+15 + 12 + Calculate 9 + 6 + 3 sum the + Calculate 3 + 2 + 1 sum the Calculate iiiiiyb n 5. and 4 by Divisibility eusv oml o ubro partitions of number for formula Recursive or that the sum of the two neighboring triangular numbers equals pentagon number, i.e. ··· aclt h u 2+15 + 12 + Calculate 9 + 6 + 3 sum the + Calculate 3 + 2 + 1 sum the Calculate iiiiiyb n 5. and 4 by Divisibility T3 + T4 = S4 which is 6 + 10 = partitions of number for 16 formula Recursive = 4 4; or 45 + 55 = 100 = 10 10. +401 × × { We recalled that we even know the proof of the this result from the previous lecture.13,12,11,10,9,8,7,6,5,4,3,2,1 ··· The proof can2 be illustrated by the following picture – two staircase-shaped triangles can +401 { be fit together as a jig-saw puzzle intro a square: 13,12,11,10,9,8,7,6,5,4,3,2,1 n if you forgot) we’ll get 13,12,11,10,9,8,7,6,5,4,3,2,1 { 2 } rmtels htw aeyucul flcue ago. lectures of couple you gave we that list the from

Homework if you forgot) we’ll get 13,12,11,10,9,8,7,6,5,4,3,2,1 n hwta h lsirsterm(e previous (see theorem Glashier’s the that Show { } rmtels htw aeyucul flcue ago. lectures of couple you gave we that list the from ··· n Homework =1 +999. hwta h lsirsterm(e previous (see theorem Glashier’s the that Show ,..., } ··· ··· n =1 +999. +75. 0 sn oriaiainand imagination your Using 30. ,..., So the Young diagram has a shape of a triangle (well, almost, it’s more of a staircase, } ··· In this examplehowever, we have if youT put12 dots+ T in13 the= middleS13 or of 78 blocks + 91 then = it 169. will become an actual right +75. triangle), hence the name and imagination your Using 30. – triangular number.

eo o a n the find can you Below So the Young diagram has a shape of a triangle (well, almost, it’s more of a staircase, Recursive formulaHow can we for know triangular the number ofhowever, numbers. blocks in if this you triangle putFrom dots without the in the picture counting? middle of of Studentsblocks triangles then it willfrom become the an actual right quickly realized that we need to completetriangle), this hence shape the to namea square – triangular or to a rectangle. number. In the slides it is clearfirst that case we can put on top the find can you ofBelow the aboveHow green can diagram we know another the number triangular of blocks diagram in this which triangle without counting? Students is smaller by one row and one columnquickly realized that we need to complete this shape to a square or to a rectangle. In the (3) Tn +first (n case+ 1) we can= T putn+1 on, top of the above green diagram another triangular diagram which n is smaller by one row and one column for instance, T=4or 4 + 5 = T6,T7 + 8 = T8, etcetera. n =4or

1.3. Pentagon Numbers.

1.3.HomeworkPentagon Numbers. Problem 1. Calculate the sum 1 + 2 + 3 + +999. ··· Homework Problem 2. Calculate the sum 3 + 6 + 9 + 12 + 15 +75. Problem 1. Calculate··· the sum 1 + 2 + 3 + +999. ··· Problem 3. Calculate Problem 2. Calculate the sum 3 + 6 + 9 + 12 + 15 +75. 1+5+9+13+ +401 ··· ··· Note that in this sum we pick everyProblem other odd 3. Calculate number. 1+5+9+13+ +401 Problem 4. Divisibility by 4 andNote 5. Show that that in this the··· sum Glashier’s we pick theorem every other (see oddprevious number. lecture notes, there we proved it for parts which are not divisible by 3) holds for n =4or n = 5. You may use partitions of nProblemfrom the list 4. thatDivisibility we gave youby 4 couple and5. of lecturesShow that ago. the Glashier’s theorem (see previous lecture notes, there we proved it for parts which are not divisible by 3) holds for n =4or Problem 5. Recursive formulan for= 5. number You may of use partitions partitionsBelow of n from you canthe list find that the we gave you couple of lectures ago. list of total number of integer partitions for n =1,...,30. Using your imagination and what we have learned about FibonacciProblem numbers 5. lastRecursive quarter (if formula you were for there) number try to find of partitions Below you can find the list of total number of integer partitions for n =1,...,30. Using your imagination and what we have learned about Fibonacci numbers last quarter (if you were there) try to find 19

We now ready to write the formula for any triangular number n (n + 1) T = × . n 2 Problem: Prove the above formula by induction.

6. Pentagonal Numbers Then it was time to draw some pentagons. The pentagonal or, simply pentagon, num- bers Pn are numbers which are equal to the number of dots which we can distributed inside a pentagon (see slides). As the corresponding keynote slide explains, the idea is to put dots into vertices of a regular pentagon (that gives P2 = 5, we also assign P1 = 1 for a single dot). On the next step we draw a larger pentagon which contains the previous one and we add dots on the outer edges such that each edge has 3 dots. In other words, the index in Pn tells how many dots are on the edges of the pentagon. Same applied for Tn and Sn. It took some imagination from kids to carefully draw pentagonal shapes on the paper. After several minutes we added the third row to the table: n 1 2 3 4 5 6 7 8 9 10 11 12 13

Tn 1 3 6 10 15 21 28 36 45 55 66 78 91 Sn 1 4 9 16 25 36 49 64 81 100 121 144 169 Pn 1 5 12 22 35 51 70 92 117 145 176 210 247

Same question – do you see any patterns? Once the table was in front of the students’ eyes they spotted the following two rules

(4) Tn + Sn+1 = Pn+1 , for instance, 36 + 81 = 117 (T8 + S9 = P9) or 15 + 36 = 51 (T5 + S6 = P6), as well as (5) T + S n = P , n n − n like 10 + 16 4 = 22 (T4 + S4 4 = P4) or 55 + 100 10 = 145 (T10 + S10 10 = P10). Problem:−Can you show that− the last equation (7)− follows from previous− equations (2), (3) and (7)? If you’re still hesitant with indices try to look at the table and see what each equation mean. 6.1. Extending to Negative n. One can formally define triangular, square and pen- tagonal numbers for negative n using the equations (2), (3), (7), and (7) which we just discussed. Indeed, (3) says that

T1 + 2 = T2 ,T0 + 1 = T1 ,T 1 + ( 1 + 1) = T0 ,T 2 + ( 2 + 1) = T 1 ,... − − − − − Which lead to

1 + 2 = 3 ,T0 + 1 = 1 ,T 1 + 0 = T0 ,T 2 + 1 = T 1 ,... − − − − which leads to T0 = T 1 = 0 and T 2 = 1. − − Pentagonal Numbers (Handout May, 2016)

The familiar of triangular square numbers have a natural geometric interpreta- tion:

This pattern extends to an entire sequence of sequences: the polygonal numbers. For larger k,thek-gonal numbers are less natural to motivate; but we find the sequence of pentagonal numbers worthy of special attention because of a surprising application to partition theory as we will soon discover:

20 Explicit formulas for triangular, square and pentagonal numbers, and the associated gen- eratingProblem: functions,Using are this easily idea deduced: find Tn,Sn and Pn for some negative n. Use all four above equations to check your results. 1 2 1 Tn = n(n + 1) Sn = n Pn = n(3n 1) Problem 15. Pentagonal2 partitions. Using partitions of2 integers in handouts and 1 n x 1 n x(1+x) 1 n x(1+2x) what we have discussedTnx = (1 inx)3 class soS farnx find= (1 andx)3 draw otherPnx pentagonal= (1 x)3 partitions for n = 1, 2, 5, 7,n12=0, 15, 22 and other pentagonaln=0 numbers. n=0 P P P It is interesting to look at a table of values of T , S and P over a range of integer values In class we have drew the following summaryn n tablen of triangular T , square S and of n, including some negative values of n: n n pentagonal Pn numbers including negative indices n n 8 7 6 5 4 3 2 1 0 1 2 3 4 5 6 7 8 Tn 28 21 15 10 6 3 1 0 0 1 3 6 10 15 21 28 36 Sn 64 49 36 25 16 9 4 1 0 1 4 9 16 25 36 49 64 Pn 100 77 57 40 26 15 7 2 0 1 5 12 22 35 51 70 92

Here are the patterns: You should notice that the triangular and square numbers take the same values for n 6 0 (6)as for n > 0; this is explained by theT relationsn + Sn+1 = Pn+1 , for instance, 36 + 81 = 117 (T8 + S9 = P9) or 15 + 36 = 51 (T5 + S6 = P6), as well as T n 1 = Tn,Sn = Sn (7) T + S n= P , n n − n 1 like 10 + 16 4 = 22 (T4 + S4 4 = P4) or 55 + 100 10 = 145 (T10 + S10 10 = P10). Extension− to negative n can− be done using the above− equations −

T1 + 2 = T2 ,T0 + 1 = T1 ,T 1 + ( 1 + 1) = T0 ,T 2 + ( 2 + 1) = T 1 ,... − − − − − Which lead to

1 + 2 = 3 ,T0 + 1 = 1 ,T 1 + 0 = T0 ,T 2 + 1 = T 1 ,... − − − − which leads to T0 = T 1 = 0 and T 2 = 1. Then from (7) we find that P 1 = 2, etc. − − − Now we can write all pentagonal numbers Pn for positive and negative values of n in the increasing order (8) (1, 2), (5, 7), (12, 15), (22, 26), (35, 40), (51, 57), (70, 77), (92, 100) Notice that we grouped them in pairs (1,2), (5,7) etc. This will become important later. Problem: Do you see a pattern in (8)? Why did we break them into pairs? Find the next three pairs. 6.2. Pentagonal Partitions. One of our goals is to understand the recurrent formula for integer partitions which would allow to calculate p(n) for any n provided that we know p(k) for k < n. Some kids are narrowing down on the correct answer (after all, at this stage of our progress it would not hurt to look it up on the internet, i.e. https://en.wikipedia.org/wiki/Pentagonal number theorem), yet, we need to develop more technology in order to be able to fully appreciate the beauty of the result. Fore convenience I repeat the partitions with odd distinct parts and with even distinct parts. Recall that we had a match almost always, however, for certain n we had one more partition of one kind or another. 21 n = 8 : The following 3 partitions have odd number of distinct parts

and the following 3 partitions have even number of distinct partitions

The first list of partitions has odd number of columns (1 or 3), while the second list has two columns. One can easily match three red partitions with three blue partitions by throwing the bottom-right block in the last column (if it is there) on top of the first column:

7→ 7→ 7→ n = 9 : The following 4 partitions have odd number of distinct parts

and the following 4 partitions have even number of distinct partitions

The identification goes as follows

7→ 7→ 7→ 7→ 22 n = 10 : The following 5 partitions have odd number of distinct parts

while the following 5 even-parted partitions

The identification goes as follows

7→ 7→ 7→ 7→ 7→

n = 11 : The following 6 partitions have odd number of distinct parts

while the following 6 have even number of distinct parts 23 n = 12 : The following 8 partitions have odd number of distinct parts

However, we only have 7 partitions with even number of distinct parts

We can see that the following ‘pentagon-shaped’ diagram is extra and does

not fit the matching pattern.

Several lectures ago we also saw that for n = 5 and for n = 7 were also exceptional and did not fit the matching pattern. Notice that each of the above green diagrams

is a Young diagram for a pentagonal number. Problem 16. Pentagonal partitions. Look at formula (8) again. Draw pentagonal shaped partitions (similar to the last green partition above) for all numbers from formula (8). Why are the partitions inside each pair similar to each other?

7. Restricted Partitions Next we would like to find recurrent relations within partitions with fixed number of parts. Problem 17. Restricted Partitions. Let us now look at integer partitions of n which are not allowed to have more than k parts. For instance, let n = 7 and k = 4. Then we shall only look at partitions which have exactly 4 parts. From the list of partitions of 7 7 , 6, 1 , 5, 2 , 5, 1, 1 , 4, 3 , 4, 2, 1 , 4, 1, 1, 1 , 3, 3, 1 , 3, 2, 2 , {{ } { } { } { } { } { } { } { } { } 24

3, 2, 1, 1 , 3, 1, 1, 1, 1 , 2, 2, 2, 1 , 2, 2, 1, 1, 1 , 2, 1, 1, 1, 1, 1 , 1, 1, 1, 1, 1, 1, 1 { } { } { } { } { } { }} Only these qualify 4, 1, 1, 1 , 3, 2, 1, 1 , 2, 2, 2, 1 {{ } { } { }} Make lists for n = 4, 5, 6 with all possible restricted parts, i.e. all partitions of 4 with 1, with 2, with 3 parts, etc., same for n = 5 and n = 6. Count each number of partitions, call it pk(n). Do you see any pattern? In class we looked at restricted partitions from n = 1 to n = 10 and drew table 7

1 2 3 4 5 6 7 8 9 10 11 12

p(1) 1

p(2) 1 1

p(3) 1 1 1

p(4) 1 2 1 1

p(5) 1 2 2 1 1

p(6) 1 3 3 2 1 1

p(7) 1 3 4 3 2 1 1

p(8) 1 4 5 5 3 2 1 1

p(9) 1 4 7 6 5 3 2 1 1

p(10) 1 5 8 9 7 5 3 2 1 1

p(11)

p(12)

Figure 1. Number of restricted partitions pk(n) for n = 1,..., 10 This table is larger than the one from the previous class so we had more information and could observe more patterns. On the video you can see how those new patterns appeared in front of our eyes. Eventually we have found that if you take a number, say p5(10) = 7, then move to its upper-left corner where p4(9) = 6 resides. Then we need to compensate for missing 25

7 6 = 1. There are a lot of 1s in the table, so it may be confusing which 1 to pick. Since we?re− after a pattern which should always work we need a simple rule which would tell us how to pick the missing number. One suggestion in class was to take p5(6) = 1 works perfectly. Still, there’s another 1 on top of it – p5(5), so we could as well picked that one. In order to remove the ambiguity let us consider another example. Start with p4(10) = 9, then go towards its top-left corner, find it to be p (9) = 7. We are short by 9 7 = 2. 3 − Luckily for us there’s only one 2 corresponding to p4(6). So we conclude that

p4(10) = p3(9) + p4(6).

We did couple more examples and convinced ourselves that the rule indeed works, say

p3(11) = p2(10) + p3(8) (10 = 5 + 5)

Let?s now try to write this rule for all n-integer and k-number of parts. It states

(9) pk(n) = pk 1(n 1) + pk(n k) − − −

Here we assume that k is less or equal n, otherwise we’ll get a negative number for n k. − We concluded that in this case pk(n k) should be zero. Indeed, this is correct and it implies that −

pk(n) = pk 1(n 1) − − for k > n One can check this by looking at the right half of the table. That?s why we have diagonals of 1s, 2s, 3s on the right.

Question 1: Explain that the pattern is correct. Consider an example, say p3(9) = p2(8) + p3(6). Draw the corresponding Young diagrams for the left hand side of the equation and for its right hand side. Try to see how we can move/add/remove blocks to these diagrams to show the equivalence. In the figure below we drew all the diagrams 3 3

ForForn =12andn =12andnn=15itistheotherwayaround–partitionswithoddnumberofdistinct=15itistheotherwayaround–partitionswithoddnumberofdistinct partsparts exceed exceed partitions partitions with with even number number of of distinct distinct parts parts by by one one (see (see previous previous lecture lecture for for 26 diagrams),diagrams), etcetera. etcetera. Thus Thus the the parity parity pattern pattern alternates alternates every every other3 other pentagonal pentagonal number. number. ThisThis is is the the reason reason for for two two pluses, pluses, two two minuses, minuses, two two pluses, pluses, etc. etc. in Euler in Euler formula formula (1). (1). For n =12andn =15itistheotherwayaround–partitionswithoddnumberofdistinctRecurrent Formula pk(n)=pk 1(n 1) + pk(n k) parts exceed partitions with even number of distinct parts by one (see previous lecture for p (9) = p (8) + p (6) diagrams), etcetera. Thus the parity pattern3 alternates2 every3 other3 pentagonal number. This is the reason for two pluses, two minuses,7 two4 pluses,3 etc. in Euler formula (1). For n =12andn =15itistheotherwayaround–partitionswithoddnumberofdistinct parts exceed partitions with even number of distinct parts by one (see previous lecture for diagrams), etcetera. Thus the parity pattern alternates every other pentagonal number. This is the reason for two pluses, two minuses, two pluses, etc. in Euler formula (1). Therefore the following statement holds. We demonstrated its validity earlier by match- ing odd and even partitionsTherefore by moving the following blocks from statement top to bottomholds. We and demonstrated back. its validity earlier by match- ing odd and even partitions by moving blocks from top to bottom and back. Theorem: If n is not a pentagonal number, then the number of even distinct partitions of n, call it qe(n) equals theTheorem: number ofIf oddn is distinct not a pentagonal partitions number,of n, call then it qo( then). number So qe(n)= of even distinct partitions of n, call it q (n) equals the number of odd distinct partitions of n, call it q (n). So q (n)= qo(n)andsothetotalnumberofdistinctpartitionsofTherefore thee following statementn, call holds.it q(n)is Weq(n demonstrated)=2qo(n)which its validityo earliere by match- Therefore the following statement holds. We demonstrated its validity earlier by match- is even. ingqo odd(n)andsothetotalnumberofdistinctpartitionsof and even partitions by moving blocks fromn top, call to it bottomq(n)isq( andn)=2 back.qo(n)which j ing odd and even partitions byIf movingn is a pentagonalblocks fromis number, even. top to say bottomn = P andj , then back.qe(n)=qo(n)+( 1) and so q(n)= j j 2qo(n)+( 1) whichWe is needTheorem: odd.If ton matchis aeach pentagonalIf n ofis 7 green not number, diagramsa pentagonal on say then left number,= sidePj of, thenthe then pictureqe( then with)= number aqo(n)+( of even1) and distinct so q( partitionsn)= j Theorem: If n is not a pentagonal number, unique then2 diagramq theo(n)+( number of the right1) which of side even and is vice-versa distinct odd. (cf. partitions odd vs. distinct or odd&distinct vs. of n, call itnq(3en(n1)) equals the number of odd distinct partitions of n, call it qo(n). So qe(n)= of n, call it qe(n) equals the numberProblem: of oddShow distinctsymmetric that partitionsP earliern = in the of course).n., You call may it qo( usen). the So factqe(n that)= a pentagonal number Noticeqo(n that)andsothetotalnumberofdistinctpartitionsofp (9) counts2 diagrams with one lessn(3 blockn 1) and one less part thannp,(8). call it q(n)isq(n)=2qo(n)which Problem:3 Show2 that Pn = . You may usen the(n 21) fact that a pentagonal number qo(n)andsothetotalnumberofdistinctpartitionsofis a sum of a squareWhat does number itn mean, callS exactly?n it=qn(n We)isand needq a( ton triangular)=2 add oneqosingle(n2 )which number block to anyTn of1 the= four orange or use is even. 2 2 n(n 1) induction. diagramsis from a sump2(8) of so athat square the new number diagrams willSn have= n 9 blocksand in a them triangular and 3 parts number Tn 1 = or use is even. If n is a pentagonal number, say n = P , then q (n)=q (n)+( 1)j 2and so q(n)= (columns).induction. How shall we do that? The onlyj solutions is to add thisj block on the bottom-e o If n is a pentagonal number, say n = Pj ,right then2q of each(nqe)+(( orangen)= diagram!1)qjo(whichn)+( Indeed, is1) odd.and so q(n)= j o 2qo(n)+( 1) which is odd. n(3n 1) n(3n 1) Problem:+ = Show+ that= Pn = + 2= . You+ may= use the fact that a pentagonal number Problem: Show that Pn = . You may use the fact that a pentagonal number2 n(n 1) 2 is a sum of a square number Sn = n and a triangular number Tn 1 = or use 2 n(n 1) 2 is a sum of a square number Sn = n and a triangular number Tn 1 = or use Nowinduction. we need to math the remaining 3 green diagrams2 of partitions of 9 with 3 blue induction. diagrams of partitions of 6. This goes as follows

↔ ↔ ↔ 27

As it is clearly seen from the picture we merely need to add one row of three blocks to each of the blue diagrams (equivalently, remove this row from green diagrams). The last operation explains the presence of p3(6) (or, in general, pk(n k)) term in the right hand side of the formula. Both types of diagrams in the latter picture− have 3 (or k in general) columns and green diagrams’ bottom rows are the same. Note that there might not be any diagrams of that kind. Question 2: Use the pattern which we have found (9) to find all numbers in the next rows in table 7. What are pk(11), pk(12), pk(13) for all k? Once you have found each new pk(n) calculate the sum. What should it be equal to?

p (n) + p (n) + + p (n) 1 2 ··· n

8. Counting Partitions Having done a lot of preparation, we studied the recurrent formula for integer partitions. At this moment we still don’t have a full honest proof of the formula (that would require a little bit of algebra), however, we can explain the result intuitively using pentagonal numbers. In this note I nevertheless write the full derivation of the Euler’s formula which you and your children can study. You are welcome to send follow-up questions over the email if your kids want to understand it in more details. I do realize that most of the material below (in fact, all of it after 1.1 for Pentagonal Numbers) is beyond the scope of grades 1-4, however, I hope that the students got some understanding of where the formula comes from and that it will motivate them to study the subject further. This intuition is built on previous problems which we had solved earlier. The summary of our last lecture is in the first three pages of this notes.

Problem 18. Recursive formula for the number of partitions. Below you can find the list of total number of integer partitions for n = 1,..., 30. Using your imagination and what we have learned about Fibonacci numbers last quarter (if you were there) try to find a pattern (recursive formula) in these numbers. Keep in mind that the desired formula is more complicated than the formula for Fibonacci numbers, albeit the idea behind it is similar – express next numbers in the sequence using (some of) previous numbers. For completeness let us denote p(0) = 1. Pay special attention to pentagonal numbers.

1, 1, 2, 3, 5, 7, 11, 15, 22, 30, 42, 56, 77, 101, 135, 176, 231, 297, 385, 490, 627, 792, 1002, 1255, 1575, 1958, 2436, 3010, 3718, 4565, 5604,... LECTURE 3. COLLECTING LIKE TERMS AND MISSED OPPORTUNITIES 61

28

For instance

5 = 3 + 2 , 11 = 7 + 5 1 , − 15 = 11 + 7 2 1 , − − 56 = 42 + 30 11 5 , − − 77 = 56 + 42 15 7 + 1 , − − 101 = 77 + 56 22 11 + 1 . − − After several lectures of preparation we are ready to understand the recurrent formula for the number of partitions which reads (10) p(n) = p(n 1)+p(n 2) p(n 5) p(n 7)+p(n 12)+p(n 15) p(n 22) p(n 26)+... − − − − − − − − − − − − In class we checked that the formula on several examples (also see the video). We assume that p(0) = 1 and p(m) = 0 for any negative m. The formula can also be illustrated using the following ‘magic ruler’:

Pluses and minuses in the ruler on the left are placed at locations of pentagonal numbers. The numbers in red are by now familiar pentagonal numbers which have the following partitions Figure 3.2. Amachineforcomputingp(n) (P1,P 1)(P2,P 2)(P3,P 3)(P4,P 4) ... − − − − 29

...

Pentagonal numbers are special for many reasons, most importantly for us they mark integers for which the number of partitions with even distinct parts is not equal to the number of partitions with odd distinct parts. Indeed, for n = 1 and n = 2 we have one partition with one (odd) part and none with two parts. For n = 5 and n = 7 we have by one more partition with even number of distinct parts than that with odd number:

vs vs

For n = 12 and n = 15 it is the other way around – partitions with odd number of distinct parts exceed partitions with even number of distinct parts by one (see previous lecture for diagrams), etcetera. Thus the parity pattern alternates every other pentagonal number. This is the reason for two pluses, two minuses, two pluses, etc. in Euler formula (10).

Therefore the following statement holds. We demonstrated its validity earlier by match- ing odd and even partitions by moving blocks from top to bottom and back. Theorem: If n is not a pentagonal number, then the number of even distinct partitions of n, call it qe(n) equals the number of odd distinct partitions of n, call it qo(n). So qe(n) = qo(n) and so the total number of distinct partitions of n, call it q(n) is q(n) = 2qo(n) which is even. j If n is a pentagonal number, say n = Pj , then qe(n) = qo(n) + ( 1) and so q(n) = 2q (n) + ( 1)j which is odd. − o − 30

n(3n 1) − Problem: Show that Pn = 2 . You may use the fact that a pentagonal number 2 n(n 1) − is a sum of a square number Sn = n and a triangular number Tn 1 = 2 or use induction. − 8.1. Generating Function for Pentagonal Numbers. Let us see how pentagon num- bers appear in counting of partitions of n. First we need to learn how to multiply poly- nomial expressions. Let z be a formal variable (a letter, a symbol, you can substitute any number instead of it) which we can multiply by itself and by integers and add or subtract those expressions: z, 1 + z, 1 z, 5z, z2, 5z4 − Then consider the following product (we’ll ignore in the future) × (1 z)(1 z2) = 1 (1 z2) z (1 z2) = 1 1 1 z2 z 1 z ( z2) = 1 z z2 +z3 − − × − − × − × − × − × − × − − − One can continue (1 z)(1 z2)(1 z3) = (1 z z2+z3)(1 z3) = (1 z z2+z3 z3)1+(1 z z2+z3)( z3) − − − − − − − − − − − − = 1 z z2 + z3 z3 z3 + z4 + z5 z6 = 1 z z2 + z4 + z5 z6 − − − − − − − − Notice that z3 in the last calculation got cancelled. Problem: If you understood how to multiply polynomials calculate (1 z)(1 z2)(1 z3)(1 z4)(1 z5)(1 z6)(1 z7)(1 z8) − − − − − − − − Do you see any cancelations? Which terms remain? Do you see a pattern? We can keep multiplying to infinity

∞ φ(z) = (1 zk) = (1 z)(1 z2)(1 z3)(1 z4) ... − − − − − · kY=1 we denoted this expression (function φ(z)). If you have done the above problem then you saw that φ(z) = 1 z1 z2 + z5 + z7 z12 z15 + z22 + z26 ... − − − − − Our favorite pentagon numbers again! Now they appear as powers of z. Also notice familiar signs appearing in pairs. 8.2. Generating Function for p(n). Now let us consider the following expression which is the inverse of φ(z)

1 ∞ 1 1 (11) p(z) = = = φ(z) 1 zk (1 z)(1 z2)(1 z3)(1 z4) ... kY=1 − − − − − · it may look at little scary at the moment, so let us break it down intro pieces. First look 1 at a simpler expression like 1 z . First we show that − 1 (12) = 1 + z + z2 + z3 + z4 + ... 1 z − 31

This follows from the following. Fix integer N then consider N 2 3 N 1 (13) 1 z = (1 z)(1 + z + z + z + + z − ) − − ··· Problem: Verify the above equation for N = 5, namely: 1 z5 = (1 z)(1 + z + z2 + z3 + z4) − − Check this by expanding the right hand side:(1 z)(1 + z + z2 + z3 + z4) = 1(1 + z + z2 + z3 + z4) z(1 + z + z2 + z3 + z4) = ... − − Since equation (13) holds for all N, we can make it arbitrarily large. It turns out that if z is small enough (in fact, smaller than 1) zN is getting smaller and smaller as N is getting larger and larger. So we get N 1 z 2 3 N 1 − = 1 + z + z + z + + z − 1 z ··· − and as N approaches infinity we get formula (12). Next consider 1 1 zk which stands inside the product of p(z) in− formula (11). This expression looks almost exactly like the one we saw above if we change variables as w = zk, where w is another variable 1 1 = = 1 + w + w2 + w3 + w4 + ... 1 zk 1 w − − Here we used formula (12) in terms of w-variable. Recalling that w = zk we get 1 = 1 + zk + z2k + z3k + z4k + ... 1 zk − Thus the generating function in (11) can be written as

∞ p(z) = (1 + zk + z2k + z3k + ... ) kY=1 which means the following infinite product of (also infinite expressions) p(z) = (1 + z + z2 + z3 + ... )(1 + z2 + z4 + z6 + ... )(1 + z3 + z6 + z9 + ... ) ... · Now we need to collect terms in front of each power of z. Each term zn in the resulting product will look like

k1 2k2 3k3 mkm k1+2k2+3k3+ +mkm z z z z = z ··· · · ····· We want to count the number of such products with k1 + 2k2 + 3k3 + + mkm = n, that is, the number of presentations ··· n = k + 2k + + mk = 1 + + 1 + 2 + + 2 + + m + + m 1 2 ··· m ··· ··· ··· ··· k1 k2 km | {z } | {z } | {z } 32 which is the number of partitions of n! This can be illustrated by looking at the Young diagram for partition m, . . . , m, m 1, . . . , m 1,..., 2,..., 2, 1,..., 1 { − − } km km 1 k2 k1 − For example, consider partition 6, 6, 4, 3, 1 of 20 | {z } | { {z } } | {z } | {z }

here m = 6 and k6 = 2, k5 = 0, k4 = 1, k3 = 1, k2 = 0, k1 = 1. Since the powers of z in the product increase for every n there will be finitely many terms. Thus the coefficient in front of zn in p(z) is equal to p(n) - the number of integer partitions of n p(z) = 1 + p(1)z + p(2)z2 + p(3)z3 + p(4)z4+ The first several terms look like p(z) = 1+z+2z2+3z3+5z4+7z5+11z6+15z7+22z8+30z9+42z10+56z11+77z12+101z13+... We recognize familiar numbers 1, 1, 2, 3, 5, 7, 11, 15, 22, 30, 42, 56, 77, 101,... .