641:
1705:
2164:
269:
2677:
1523:
2520:
1109:
976:
2331:
1851:
2204:
474:
2018:
1993:
1360:
84:
782:
1192:
580:
1268:
2746:
1410:
2531:
1700:{\displaystyle r_{3}(n)={\begin{cases}24h(-n),&{\text{if }}n\equiv 3{\pmod {8}},\\0&{\text{if }}n\equiv 7{\pmod {8}},\\12h(-4n)&{\text{otherwise}},\end{cases}}}
1487:
622:
516:
384:
2382:
1904:
303:
1441:
1219:
1136:
2400:
987:
845:
644:
Integers satisfying the sum of two squares theorem are squares of possible distances between integer lattice points; values up to 100 are shown, with
3898:
4120:
4092:
4073:
2238:
1773:
3972:
2159:{\displaystyle r_{6}(n)=4\sum _{d\mid n}d^{2}{\big (}4\left({\tfrac {-4}{n/d}}\right)-\left({\tfrac {-4}{d}}\right){\big )},}
2172:
389:
1916:
264:{\displaystyle r_{k}(n)=|\{(a_{1},a_{2},\ldots ,a_{k})\in \mathbb {Z} ^{k}\ :\ n=a_{1}^{2}+a_{2}^{2}+\cdots +a_{k}^{2}\}|}
1276:
3990:
Infinite
Families of Exact Sums of Squares Formulas, Jacobi Elliptic Functions, Continued Fractions, and Schur Functions
1502:
4115:
698:
3872:
1752:
4028:
3997:
1145:
521:
1224:
4110:
3960:
2690:
1722:
2672:{\displaystyle \vartheta (0;q)=\sum _{n=-\infty }^{\infty }q^{n^{2}}=1+2q+2q^{4}+2q^{9}+2q^{16}+\cdots .}
1369:
669:
1554:
1764:
1450:
585:
479:
347:
2222:
1139:
75:
2351:
1873:
2515:{\displaystyle \vartheta (0;q)^{k}=\vartheta _{3}^{k}(q)=\sum _{n=0}^{\infty }r_{k}(n)q^{n},}
2391:
277:
3877:
1444:
1419:
1413:
1197:
1114:
816:
4048:
8:
2342:
1104:{\displaystyle n=2^{g}p_{1}^{f_{1}}p_{2}^{f_{2}}\cdots q_{1}^{h_{1}}q_{2}^{h_{2}}\cdots }
50:
or in the signs of the numbers being squared are counted as different. It is denoted by
25:
971:{\displaystyle r_{2}(n)=4\sum _{d\mid n \atop d\,\equiv \,1,3{\pmod {4}}}(-1)^{(d-1)/2}}
812:
3917:
4045:
4024:
3993:
3968:
3867:
1767:
and it is eight times the sum of all its divisors which are not divisible by 4, i.e.
1508:
310:
3932:
3913:
2207:
1907:
802:
839:
which are congruent to 3 modulo 4. Using sums, the expression can be written as:
4068:"Sequence A122141 (number of ways of writing n as a sum of d squares)"
4016:
3930:
675:
4104:
982:
640:
43:
17:
4082:
4063:
306:
4087:"Sequence A004018 (Theta series of square lattice, r_2(n))"
4053:
2346:
660:
Non-unique representations (up to rotation and reflection) bolded
47:
29:
4043:
624:
because there is no way to represent 3 as a sum of two squares.
3899:"On the Representation of a Number as the Sum of Three Squares"
2326:{\displaystyle r_{8}(n)=16\sum _{d\,\mid \,n}(-1)^{n+d}d^{3}.}
1846:{\displaystyle r_{4}(n)=8\sum _{d\,\mid \,n,\ 4\,\nmid \,d}d.}
1734:
There exist extensions of Gauss' formula to arbitrary integer
28:
that gives the number of representations for a given positive
3933:"Three-Square Theorem as an Application of Andrews' Identity"
46:, where representations that differ only in the order of the
3931:
S. Bhargava; Chandrashekar Adiga; D. D. Somashekara (1993).
4086:
4067:
3963:(2007). "5.4 Consequences of the Hasse–Minkowski Theorem".
1693:
3965:
Number Theory Volume I: Tools and
Diophantine Equations
4081:
4062:
2199:{\displaystyle \left({\tfrac {\cdot }{\cdot }}\right)}
2181:
2126:
2088:
2693:
2534:
2403:
2354:
2241:
2175:
2021:
1919:
1876:
1776:
1526:
1453:
1422:
1372:
1279:
1227:
1200:
1148:
1117:
990:
848:
701:
588:
524:
482:
469:{\displaystyle 1=0^{2}+(\pm 1)^{2}=(\pm 1)^{2}+0^{2}}
392:
350:
280:
87:
3992:. Springer Science & Business Media. p. 9.
1988:{\displaystyle r_{4}(n)=8\sigma (2^{\min\{k,1\}}m).}
1355:{\displaystyle r_{2}(n)=4(f_{1}+1)(f_{2}+1)\cdots }
476:where each sum has two sign combinations, and also
2740:
2671:
2514:
2376:
2325:
2198:
2158:
1987:
1898:
1845:
1699:
1481:
1435:
1404:
1354:
1262:
1213:
1186:
1130:
1103:
970:
776:
616:
574:
510:
468:
378:
297:
263:
4102:
1956:
582:with four sign combinations. On the other hand,
4021:Representations of integers as sums of squares
3896:
2148:
2075:
777:{\displaystyle r_{2}(n)=4(d_{1}(n)-d_{3}(n))}
1971:
1959:
652:Squares (and thus integer distances) in red
253:
115:
3955:
3953:
3988:Milne, Stephen C. (2002). "Introduction".
2716:
4093:On-Line Encyclopedia of Integer Sequences
4074:On-Line Encyclopedia of Integer Sequences
4015:
2279:
2275:
1831:
1827:
1814:
1810:
1187:{\displaystyle p_{i}\equiv 1{\pmod {4}},}
899:
895:
575:{\displaystyle 2=(\pm 1)^{2}+(\pm 1)^{2}}
286:
171:
3950:
1263:{\displaystyle q_{i}\equiv 3{\pmod {4}}}
639:
2741:{\displaystyle r_{k}(n),\;k=1,\dots ,8}
4103:
2336:
2012:as the sum of six squares is given by
1763:as the sum of four squares was due to
4044:
3987:
3959:
2682:
1870:is an odd integer, one can express
1644:
1637:
1602:
1595:
1405:{\displaystyle h_{1},h_{2},\cdots }
1252:
1173:
917:
910:
13:
4010:
2575:
2570:
2475:
1221:are the prime factors of the form
879:
678:as sum of two squares is given by
14:
4132:
4037:
3918:10.1090/S0002-9947-1951-0042438-4
2390:can be expressed in terms of the
4121:Integer factorization algorithms
2006:The number of ways to represent
1757:The number of ways to represent
2748:are listed in the table below:
1503:Legendre's three-square theorem
1245:
1166:
3981:
3924:
3890:
2710:
2704:
2550:
2538:
2496:
2490:
2453:
2447:
2420:
2407:
2371:
2365:
2295:
2285:
2258:
2252:
2038:
2032:
1979:
1948:
1936:
1930:
1893:
1887:
1793:
1787:
1677:
1665:
1648:
1638:
1606:
1596:
1572:
1563:
1543:
1537:
1470:
1464:
1346:
1327:
1324:
1305:
1296:
1290:
1256:
1246:
1177:
1167:
955:
943:
939:
929:
921:
911:
865:
859:
771:
768:
762:
746:
740:
727:
718:
712:
674:The number of ways to write a
605:
599:
563:
553:
541:
531:
499:
493:
444:
434:
422:
412:
367:
361:
291:
282:
257:
163:
118:
111:
104:
98:
1:
3883:
833:is the number of divisors of
69:
3873:Jacobi's four-square theorem
1753:Jacobi's four-square theorem
692:. It is given explicitly by
7:
3861:
627:
335:can be written as a sum of
10:
4137:
4083:Sloane, N. J. A.
4064:Sloane, N. J. A.
1750:
1500:
1482:{\displaystyle r_{2}(n)=0}
670:Sum of two squares theorem
667:
656:
648:
617:{\displaystyle r_{2}(3)=0}
511:{\displaystyle r_{2}(2)=4}
379:{\displaystyle r_{2}(1)=4}
4049:"Sum of Squares Function"
4116:Squares in number theory
2687:The first 30 values for
2377:{\displaystyle r_{k}(n)}
2213:
1998:
1899:{\displaystyle r_{4}(n)}
1765:Carl Gustav Jakob Jacobi
1743:
1507:Gauss proved that for a
1493:
632:
22:sum of squares function
3906:Trans. Amer. Math. Soc
3897:P. T. Bateman (1951).
2742:
2673:
2579:
2516:
2479:
2378:
2327:
2200:
2160:
1989:
1900:
1847:
1701:
1483:
1437:
1406:
1356:
1270:gives another formula
1264:
1215:
1188:
1132:
1105:
972:
778:
665:
618:
576:
512:
470:
380:
329:is the number of ways
299:
298:{\displaystyle |\,\ |}
265:
2743:
2674:
2556:
2517:
2459:
2392:Jacobi theta function
2379:
2328:
2221:Jacobi also found an
2201:
2161:
1990:
1901:
1848:
1702:
1484:
1438:
1436:{\displaystyle h_{i}}
1407:
1357:
1265:
1216:
1214:{\displaystyle q_{i}}
1189:
1133:
1131:{\displaystyle p_{i}}
1106:
973:
779:
643:
619:
577:
513:
471:
381:
300:
266:
4111:Arithmetic functions
3878:Gauss circle problem
2691:
2532:
2401:
2352:
2239:
2173:
2019:
1917:
1874:
1774:
1524:
1451:
1420:
1370:
1277:
1225:
1198:
1146:
1115:
988:
846:
699:
586:
522:
480:
390:
348:
278:
85:
4023:. Springer-Verlag.
2446:
2343:generating function
2337:Generating function
1097:
1075:
1050:
1028:
252:
228:
210:
26:arithmetic function
4096:. OEIS Foundation.
4077:. OEIS Foundation.
4046:Weisstein, Eric W.
2738:
2669:
2512:
2432:
2374:
2323:
2284:
2196:
2190:
2156:
2140:
2112:
2062:
1985:
1896:
1843:
1836:
1697:
1692:
1479:
1433:
1402:
1352:
1260:
1211:
1184:
1128:
1101:
1076:
1054:
1029:
1007:
968:
928:
774:
666:
614:
572:
508:
466:
376:
313:. In other words,
295:
261:
238:
214:
196:
3974:978-0-387-49922-2
3868:Integer partition
3859:
3858:
2267:
2189:
2139:
2111:
2047:
1823:
1802:
1685:
1625:
1583:
1509:squarefree number
1416:. If one or more
926:
874:
801:is the number of
664:
663:
289:
189:
183:
4128:
4097:
4078:
4059:
4058:
4034:
4004:
4003:
3985:
3979:
3978:
3957:
3948:
3947:
3937:
3928:
3922:
3921:
3903:
3894:
2751:
2750:
2747:
2745:
2744:
2739:
2703:
2702:
2683:Numerical values
2678:
2676:
2675:
2670:
2659:
2658:
2643:
2642:
2627:
2626:
2596:
2595:
2594:
2593:
2578:
2573:
2521:
2519:
2518:
2513:
2508:
2507:
2489:
2488:
2478:
2473:
2445:
2440:
2428:
2427:
2389:
2383:
2381:
2380:
2375:
2364:
2363:
2332:
2330:
2329:
2324:
2319:
2318:
2309:
2308:
2283:
2251:
2250:
2231:
2223:explicit formula
2208:Kronecker symbol
2205:
2203:
2202:
2197:
2195:
2191:
2182:
2165:
2163:
2162:
2157:
2152:
2151:
2145:
2141:
2135:
2127:
2117:
2113:
2110:
2106:
2097:
2089:
2079:
2078:
2072:
2071:
2061:
2031:
2030:
2011:
1994:
1992:
1991:
1986:
1975:
1974:
1929:
1928:
1908:divisor function
1906:in terms of the
1905:
1903:
1902:
1897:
1886:
1885:
1865:
1852:
1850:
1849:
1844:
1835:
1821:
1786:
1785:
1762:
1739:
1730:
1720:
1706:
1704:
1703:
1698:
1696:
1695:
1686:
1683:
1651:
1626:
1623:
1609:
1584:
1581:
1536:
1535:
1516:
1488:
1486:
1485:
1480:
1463:
1462:
1442:
1440:
1439:
1434:
1432:
1431:
1411:
1409:
1408:
1403:
1395:
1394:
1382:
1381:
1361:
1359:
1358:
1353:
1339:
1338:
1317:
1316:
1289:
1288:
1269:
1267:
1266:
1261:
1259:
1237:
1236:
1220:
1218:
1217:
1212:
1210:
1209:
1193:
1191:
1190:
1185:
1180:
1158:
1157:
1137:
1135:
1134:
1129:
1127:
1126:
1110:
1108:
1107:
1102:
1096:
1095:
1094:
1084:
1074:
1073:
1072:
1062:
1049:
1048:
1047:
1037:
1027:
1026:
1025:
1015:
1006:
1005:
977:
975:
974:
969:
967:
966:
962:
927:
925:
924:
890:
858:
857:
838:
832:
810:
800:
783:
781:
780:
775:
761:
760:
739:
738:
711:
710:
691:
646:
645:
623:
621:
620:
615:
598:
597:
581:
579:
578:
573:
571:
570:
549:
548:
517:
515:
514:
509:
492:
491:
475:
473:
472:
467:
465:
464:
452:
451:
430:
429:
408:
407:
385:
383:
382:
377:
360:
359:
340:
334:
328:
304:
302:
301:
296:
294:
287:
285:
270:
268:
267:
262:
260:
251:
246:
227:
222:
209:
204:
187:
181:
180:
179:
174:
162:
161:
143:
142:
130:
129:
114:
97:
96:
65:
42:
36:
4136:
4135:
4131:
4130:
4129:
4127:
4126:
4125:
4101:
4100:
4040:
4031:
4017:Grosswald, Emil
4013:
4011:Further reading
4008:
4007:
4000:
3986:
3982:
3975:
3958:
3951:
3940:Fibonacci Quart
3935:
3929:
3925:
3901:
3895:
3891:
3886:
3864:
2858:
2845:
2832:
2819:
2806:
2793:
2780:
2767:
2698:
2694:
2692:
2689:
2688:
2685:
2654:
2650:
2638:
2634:
2622:
2618:
2589:
2585:
2584:
2580:
2574:
2560:
2533:
2530:
2529:
2503:
2499:
2484:
2480:
2474:
2463:
2441:
2436:
2423:
2419:
2402:
2399:
2398:
2385:
2359:
2355:
2353:
2350:
2349:
2339:
2314:
2310:
2298:
2294:
2271:
2246:
2242:
2240:
2237:
2236:
2226:
2219:
2180:
2176:
2174:
2171:
2170:
2147:
2146:
2128:
2125:
2121:
2102:
2098:
2090:
2087:
2083:
2074:
2073:
2067:
2063:
2051:
2026:
2022:
2020:
2017:
2016:
2007:
2004:
1955:
1951:
1924:
1920:
1918:
1915:
1914:
1881:
1877:
1875:
1872:
1871:
1857:
1806:
1781:
1777:
1775:
1772:
1771:
1758:
1755:
1749:
1735:
1726:
1711:
1691:
1690:
1682:
1680:
1656:
1655:
1636:
1622:
1620:
1614:
1613:
1594:
1580:
1578:
1550:
1549:
1531:
1527:
1525:
1522:
1521:
1511:
1505:
1499:
1458:
1454:
1452:
1449:
1448:
1427:
1423:
1421:
1418:
1417:
1390:
1386:
1377:
1373:
1371:
1368:
1367:
1334:
1330:
1312:
1308:
1284:
1280:
1278:
1275:
1274:
1244:
1232:
1228:
1226:
1223:
1222:
1205:
1201:
1199:
1196:
1195:
1165:
1153:
1149:
1147:
1144:
1143:
1122:
1118:
1116:
1113:
1112:
1090:
1086:
1085:
1080:
1068:
1064:
1063:
1058:
1043:
1039:
1038:
1033:
1021:
1017:
1016:
1011:
1001:
997:
989:
986:
985:
958:
942:
938:
909:
891:
880:
878:
853:
849:
847:
844:
843:
834:
826:
820:
806:
794:
788:
756:
752:
734:
730:
706:
702:
700:
697:
696:
685:
679:
672:
638:
630:
593:
589:
587:
584:
583:
566:
562:
544:
540:
523:
520:
519:
487:
483:
481:
478:
477:
460:
456:
447:
443:
425:
421:
403:
399:
391:
388:
387:
355:
351:
349:
346:
345:
336:
330:
322:
314:
290:
281:
279:
276:
275:
256:
247:
242:
223:
218:
205:
200:
175:
170:
169:
157:
153:
138:
134:
125:
121:
110:
92:
88:
86:
83:
82:
72:
59:
51:
38:
32:
12:
11:
5:
4134:
4124:
4123:
4118:
4113:
4099:
4098:
4079:
4060:
4039:
4038:External links
4036:
4029:
4012:
4009:
4006:
4005:
3998:
3980:
3973:
3949:
3923:
3888:
3887:
3885:
3882:
3881:
3880:
3875:
3870:
3863:
3860:
3857:
3856:
3853:
3850:
3847:
3844:
3841:
3838:
3835:
3832:
3829:
3825:
3824:
3821:
3818:
3815:
3812:
3809:
3806:
3803:
3800:
3797:
3793:
3792:
3789:
3786:
3783:
3780:
3777:
3774:
3771:
3768:
3765:
3761:
3760:
3757:
3754:
3751:
3748:
3745:
3742:
3739:
3736:
3733:
3729:
3728:
3725:
3722:
3719:
3716:
3713:
3710:
3707:
3704:
3701:
3697:
3696:
3693:
3690:
3687:
3684:
3681:
3678:
3675:
3672:
3669:
3665:
3664:
3661:
3658:
3655:
3652:
3649:
3646:
3643:
3640:
3637:
3633:
3632:
3629:
3626:
3623:
3620:
3617:
3614:
3611:
3608:
3605:
3601:
3600:
3597:
3594:
3591:
3588:
3585:
3582:
3579:
3576:
3573:
3569:
3568:
3565:
3562:
3559:
3556:
3553:
3550:
3547:
3544:
3541:
3537:
3536:
3533:
3530:
3527:
3524:
3521:
3518:
3515:
3512:
3509:
3505:
3504:
3501:
3498:
3495:
3492:
3489:
3486:
3483:
3480:
3477:
3473:
3472:
3469:
3466:
3463:
3460:
3457:
3454:
3451:
3448:
3445:
3441:
3440:
3437:
3434:
3431:
3428:
3425:
3422:
3419:
3416:
3413:
3409:
3408:
3405:
3402:
3399:
3396:
3393:
3390:
3387:
3384:
3381:
3377:
3376:
3373:
3370:
3367:
3364:
3361:
3358:
3355:
3352:
3349:
3345:
3344:
3341:
3338:
3335:
3332:
3329:
3326:
3323:
3320:
3317:
3313:
3312:
3309:
3306:
3303:
3300:
3297:
3294:
3291:
3288:
3285:
3281:
3280:
3277:
3274:
3271:
3268:
3265:
3262:
3259:
3256:
3253:
3249:
3248:
3245:
3242:
3239:
3236:
3233:
3230:
3227:
3224:
3221:
3217:
3216:
3213:
3210:
3207:
3204:
3201:
3198:
3195:
3192:
3189:
3185:
3184:
3181:
3178:
3175:
3172:
3169:
3166:
3163:
3160:
3157:
3153:
3152:
3149:
3146:
3143:
3140:
3137:
3134:
3131:
3128:
3125:
3121:
3120:
3117:
3114:
3111:
3108:
3105:
3102:
3099:
3096:
3093:
3089:
3088:
3085:
3082:
3079:
3076:
3073:
3070:
3067:
3064:
3061:
3057:
3056:
3053:
3050:
3047:
3044:
3041:
3038:
3035:
3032:
3029:
3025:
3024:
3021:
3018:
3015:
3012:
3009:
3006:
3003:
3000:
2997:
2993:
2992:
2989:
2986:
2983:
2980:
2977:
2974:
2971:
2968:
2965:
2961:
2960:
2957:
2954:
2951:
2948:
2945:
2942:
2939:
2936:
2933:
2929:
2928:
2925:
2922:
2919:
2916:
2913:
2910:
2907:
2904:
2901:
2897:
2896:
2893:
2890:
2887:
2884:
2881:
2878:
2875:
2872:
2869:
2865:
2864:
2856:
2851:
2843:
2838:
2830:
2825:
2817:
2812:
2804:
2799:
2791:
2786:
2778:
2773:
2765:
2760:
2757:
2737:
2734:
2731:
2728:
2725:
2722:
2719:
2715:
2712:
2709:
2706:
2701:
2697:
2684:
2681:
2680:
2679:
2668:
2665:
2662:
2657:
2653:
2649:
2646:
2641:
2637:
2633:
2630:
2625:
2621:
2617:
2614:
2611:
2608:
2605:
2602:
2599:
2592:
2588:
2583:
2577:
2572:
2569:
2566:
2563:
2559:
2555:
2552:
2549:
2546:
2543:
2540:
2537:
2523:
2522:
2511:
2506:
2502:
2498:
2495:
2492:
2487:
2483:
2477:
2472:
2469:
2466:
2462:
2458:
2455:
2452:
2449:
2444:
2439:
2435:
2431:
2426:
2422:
2418:
2415:
2412:
2409:
2406:
2373:
2370:
2367:
2362:
2358:
2338:
2335:
2334:
2333:
2322:
2317:
2313:
2307:
2304:
2301:
2297:
2293:
2290:
2287:
2282:
2278:
2274:
2270:
2266:
2263:
2260:
2257:
2254:
2249:
2245:
2218:
2212:
2194:
2188:
2185:
2179:
2167:
2166:
2155:
2150:
2144:
2138:
2134:
2131:
2124:
2120:
2116:
2109:
2105:
2101:
2096:
2093:
2086:
2082:
2077:
2070:
2066:
2060:
2057:
2054:
2050:
2046:
2043:
2040:
2037:
2034:
2029:
2025:
2003:
1997:
1996:
1995:
1984:
1981:
1978:
1973:
1970:
1967:
1964:
1961:
1958:
1954:
1950:
1947:
1944:
1941:
1938:
1935:
1932:
1927:
1923:
1895:
1892:
1889:
1884:
1880:
1854:
1853:
1842:
1839:
1834:
1830:
1826:
1820:
1817:
1813:
1809:
1805:
1801:
1798:
1795:
1792:
1789:
1784:
1780:
1751:Main article:
1748:
1742:
1725:of an integer
1708:
1707:
1694:
1689:
1681:
1679:
1676:
1673:
1670:
1667:
1664:
1661:
1658:
1657:
1654:
1650:
1647:
1643:
1640:
1635:
1632:
1629:
1621:
1619:
1616:
1615:
1612:
1608:
1605:
1601:
1598:
1593:
1590:
1587:
1579:
1577:
1574:
1571:
1568:
1565:
1562:
1559:
1556:
1555:
1553:
1548:
1545:
1542:
1539:
1534:
1530:
1498:
1492:
1491:
1490:
1478:
1475:
1472:
1469:
1466:
1461:
1457:
1430:
1426:
1401:
1398:
1393:
1389:
1385:
1380:
1376:
1351:
1348:
1345:
1342:
1337:
1333:
1329:
1326:
1323:
1320:
1315:
1311:
1307:
1304:
1301:
1298:
1295:
1292:
1287:
1283:
1258:
1255:
1251:
1248:
1243:
1240:
1235:
1231:
1208:
1204:
1183:
1179:
1176:
1172:
1169:
1164:
1161:
1156:
1152:
1125:
1121:
1100:
1093:
1089:
1083:
1079:
1071:
1067:
1061:
1057:
1053:
1046:
1042:
1036:
1032:
1024:
1020:
1014:
1010:
1004:
1000:
996:
993:
979:
978:
965:
961:
957:
954:
951:
948:
945:
941:
937:
934:
931:
923:
920:
916:
913:
908:
905:
902:
898:
894:
889:
886:
883:
877:
873:
870:
867:
864:
861:
856:
852:
824:
792:
785:
784:
773:
770:
767:
764:
759:
755:
751:
748:
745:
742:
737:
733:
729:
726:
723:
720:
717:
714:
709:
705:
683:
676:natural number
668:Main article:
662:
661:
658:
654:
653:
650:
637:
631:
629:
626:
613:
610:
607:
604:
601:
596:
592:
569:
565:
561:
558:
555:
552:
547:
543:
539:
536:
533:
530:
527:
507:
504:
501:
498:
495:
490:
486:
463:
459:
455:
450:
446:
442:
439:
436:
433:
428:
424:
420:
417:
414:
411:
406:
402:
398:
395:
375:
372:
369:
366:
363:
358:
354:
318:
293:
284:
272:
271:
259:
255:
250:
245:
241:
237:
234:
231:
226:
221:
217:
213:
208:
203:
199:
195:
192:
186:
178:
173:
168:
165:
160:
156:
152:
149:
146:
141:
137:
133:
128:
124:
120:
117:
113:
109:
106:
103:
100:
95:
91:
78:is defined as
71:
68:
55:
37:as the sum of
9:
6:
4:
3:
2:
4133:
4122:
4119:
4117:
4114:
4112:
4109:
4108:
4106:
4095:
4094:
4088:
4084:
4080:
4076:
4075:
4069:
4065:
4061:
4056:
4055:
4050:
4047:
4042:
4041:
4035:
4032:
4026:
4022:
4018:
4001:
3995:
3991:
3984:
3976:
3970:
3966:
3962:
3956:
3954:
3946:(2): 129–133.
3945:
3941:
3934:
3927:
3919:
3915:
3911:
3907:
3900:
3893:
3889:
3879:
3876:
3874:
3871:
3869:
3866:
3865:
3854:
3851:
3848:
3845:
3842:
3839:
3836:
3833:
3830:
3827:
3826:
3822:
3819:
3816:
3813:
3810:
3807:
3804:
3801:
3798:
3795:
3794:
3790:
3787:
3784:
3781:
3778:
3775:
3772:
3769:
3766:
3763:
3762:
3758:
3755:
3752:
3749:
3746:
3743:
3740:
3737:
3734:
3731:
3730:
3726:
3723:
3720:
3717:
3714:
3711:
3708:
3705:
3702:
3699:
3698:
3694:
3691:
3688:
3685:
3682:
3679:
3676:
3673:
3670:
3667:
3666:
3662:
3659:
3656:
3653:
3650:
3647:
3644:
3641:
3638:
3635:
3634:
3630:
3627:
3624:
3621:
3618:
3615:
3612:
3609:
3606:
3603:
3602:
3598:
3595:
3592:
3589:
3586:
3583:
3580:
3577:
3574:
3571:
3570:
3566:
3563:
3560:
3557:
3554:
3551:
3548:
3545:
3542:
3539:
3538:
3534:
3531:
3528:
3525:
3522:
3519:
3516:
3513:
3510:
3507:
3506:
3502:
3499:
3496:
3493:
3490:
3487:
3484:
3481:
3478:
3475:
3474:
3470:
3467:
3464:
3461:
3458:
3455:
3452:
3449:
3446:
3443:
3442:
3438:
3435:
3432:
3429:
3426:
3423:
3420:
3417:
3414:
3411:
3410:
3406:
3403:
3400:
3397:
3394:
3391:
3388:
3385:
3382:
3379:
3378:
3374:
3371:
3368:
3365:
3362:
3359:
3356:
3353:
3350:
3347:
3346:
3342:
3339:
3336:
3333:
3330:
3327:
3324:
3321:
3318:
3315:
3314:
3310:
3307:
3304:
3301:
3298:
3295:
3292:
3289:
3286:
3283:
3282:
3278:
3275:
3272:
3269:
3266:
3263:
3260:
3257:
3254:
3251:
3250:
3246:
3243:
3240:
3237:
3234:
3231:
3228:
3225:
3222:
3219:
3218:
3214:
3211:
3208:
3205:
3202:
3199:
3196:
3193:
3190:
3187:
3186:
3182:
3179:
3176:
3173:
3170:
3167:
3164:
3161:
3158:
3155:
3154:
3150:
3147:
3144:
3141:
3138:
3135:
3132:
3129:
3126:
3123:
3122:
3118:
3115:
3112:
3109:
3106:
3103:
3100:
3097:
3094:
3091:
3090:
3086:
3083:
3080:
3077:
3074:
3071:
3068:
3065:
3062:
3059:
3058:
3054:
3051:
3048:
3045:
3042:
3039:
3036:
3033:
3030:
3027:
3026:
3022:
3019:
3016:
3013:
3010:
3007:
3004:
3001:
2998:
2995:
2994:
2990:
2987:
2984:
2981:
2978:
2975:
2972:
2969:
2966:
2963:
2962:
2958:
2955:
2952:
2949:
2946:
2943:
2940:
2937:
2934:
2931:
2930:
2926:
2923:
2920:
2917:
2914:
2911:
2908:
2905:
2902:
2899:
2898:
2894:
2891:
2888:
2885:
2882:
2879:
2876:
2873:
2870:
2867:
2866:
2862:
2855:
2852:
2849:
2842:
2839:
2836:
2829:
2826:
2823:
2816:
2813:
2810:
2803:
2800:
2797:
2790:
2787:
2784:
2777:
2774:
2771:
2764:
2761:
2758:
2756:
2753:
2752:
2749:
2735:
2732:
2729:
2726:
2723:
2720:
2717:
2713:
2707:
2699:
2695:
2666:
2663:
2660:
2655:
2651:
2647:
2644:
2639:
2635:
2631:
2628:
2623:
2619:
2615:
2612:
2609:
2606:
2603:
2600:
2597:
2590:
2586:
2581:
2567:
2564:
2561:
2557:
2553:
2547:
2544:
2541:
2535:
2528:
2527:
2526:
2509:
2504:
2500:
2493:
2485:
2481:
2470:
2467:
2464:
2460:
2456:
2450:
2442:
2437:
2433:
2429:
2424:
2416:
2413:
2410:
2404:
2397:
2396:
2395:
2393:
2388:
2368:
2360:
2356:
2348:
2344:
2320:
2315:
2311:
2305:
2302:
2299:
2291:
2288:
2280:
2276:
2272:
2268:
2264:
2261:
2255:
2247:
2243:
2235:
2234:
2233:
2229:
2225:for the case
2224:
2216:
2211:
2209:
2192:
2186:
2183:
2177:
2153:
2142:
2136:
2132:
2129:
2122:
2118:
2114:
2107:
2103:
2099:
2094:
2091:
2084:
2080:
2068:
2064:
2058:
2055:
2052:
2048:
2044:
2041:
2035:
2027:
2023:
2015:
2014:
2013:
2010:
2001:
1982:
1976:
1968:
1965:
1962:
1952:
1945:
1942:
1939:
1933:
1925:
1921:
1913:
1912:
1911:
1909:
1890:
1882:
1878:
1869:
1864:
1860:
1856:Representing
1840:
1837:
1832:
1828:
1824:
1818:
1815:
1811:
1807:
1803:
1799:
1796:
1790:
1782:
1778:
1770:
1769:
1768:
1766:
1761:
1754:
1746:
1741:
1738:
1732:
1729:
1724:
1718:
1714:
1687:
1674:
1671:
1668:
1662:
1659:
1652:
1645:
1641:
1633:
1630:
1627:
1617:
1610:
1603:
1599:
1591:
1588:
1585:
1575:
1569:
1566:
1560:
1557:
1551:
1546:
1540:
1532:
1528:
1520:
1519:
1518:
1514:
1510:
1504:
1496:
1476:
1473:
1467:
1459:
1455:
1446:
1428:
1424:
1415:
1399:
1396:
1391:
1387:
1383:
1378:
1374:
1365:
1349:
1343:
1340:
1335:
1331:
1321:
1318:
1313:
1309:
1302:
1299:
1293:
1285:
1281:
1273:
1272:
1271:
1253:
1249:
1241:
1238:
1233:
1229:
1206:
1202:
1181:
1174:
1170:
1162:
1159:
1154:
1150:
1141:
1140:prime factors
1123:
1119:
1098:
1091:
1087:
1081:
1077:
1069:
1065:
1059:
1055:
1051:
1044:
1040:
1034:
1030:
1022:
1018:
1012:
1008:
1002:
998:
994:
991:
984:
983:factorization
963:
959:
952:
949:
946:
935:
932:
918:
914:
906:
903:
900:
896:
892:
887:
884:
881:
875:
871:
868:
862:
854:
850:
842:
841:
840:
837:
830:
823:
818:
814:
809:
804:
798:
791:
765:
757:
753:
749:
743:
735:
731:
724:
721:
715:
707:
703:
695:
694:
693:
689:
682:
677:
671:
659:
655:
651:
647:
642:
635:
625:
611:
608:
602:
594:
590:
567:
559:
556:
550:
545:
537:
534:
528:
525:
505:
502:
496:
488:
484:
461:
457:
453:
448:
440:
437:
431:
426:
418:
415:
409:
404:
400:
396:
393:
373:
370:
364:
356:
352:
344:For example,
342:
339:
333:
326:
321:
317:
312:
308:
248:
243:
239:
235:
232:
229:
224:
219:
215:
211:
206:
201:
197:
193:
190:
184:
176:
166:
158:
154:
150:
147:
144:
139:
135:
131:
126:
122:
107:
101:
93:
89:
81:
80:
79:
77:
67:
63:
58:
54:
49:
45:
41:
35:
31:
27:
23:
19:
18:number theory
4090:
4071:
4052:
4020:
4014:
3989:
3983:
3967:. Springer.
3964:
3943:
3939:
3926:
3909:
3905:
3892:
2860:
2853:
2847:
2840:
2834:
2827:
2821:
2814:
2808:
2801:
2795:
2788:
2782:
2775:
2769:
2762:
2754:
2686:
2524:
2386:
2340:
2227:
2220:
2214:
2168:
2008:
2005:
1999:
1910:as follows:
1867:
1862:
1858:
1855:
1759:
1756:
1744:
1736:
1733:
1727:
1723:class number
1721:denotes the
1716:
1712:
1709:
1512:
1506:
1494:
1363:
1142:of the form
980:
835:
828:
821:
807:
796:
789:
786:
687:
680:
673:
633:
343:
337:
331:
324:
319:
315:
305:denotes the
273:
73:
61:
56:
52:
39:
33:
21:
15:
307:cardinality
4105:Categories
4030:0387961267
3999:1402004915
3912:: 70–101.
3884:References
2384:for fixed
1501:See also:
1366:exponents
981:The prime
811:which are
70:Definition
4054:MathWorld
3961:Cohen, H.
2730:…
2664:⋯
2576:∞
2571:∞
2568:−
2558:∑
2536:ϑ
2476:∞
2461:∑
2434:ϑ
2405:ϑ
2289:−
2277:∣
2269:∑
2187:⋅
2184:⋅
2130:−
2119:−
2092:−
2056:∣
2049:∑
1946:σ
1829:∤
1812:∣
1804:∑
1684:otherwise
1669:−
1631:≡
1589:≡
1567:−
1400:⋯
1350:⋯
1239:≡
1160:≡
1099:⋯
1052:⋯
950:−
933:−
897:≡
885:∣
876:∑
813:congruent
750:−
557:±
535:±
438:±
416:±
341:squares.
233:⋯
167:∈
148:…
4019:(1985).
3862:See also
2347:sequence
1866:, where
1624:if
1582:if
1138:are the
1111:, where
803:divisors
628:Formulae
76:function
48:summands
4085:(ed.).
4066:(ed.).
3855:395136
3823:390240
3791:390784
3759:327040
3727:246176
3695:252016
3663:261184
3631:194688
3599:149184
3567:154112
3535:143136
3503:109760
2345:of the
2206:is the
1447:, then
44:squares
30:integer
4027:
3996:
3971:
3471:84784
3439:78624
3407:74864
3375:56448
3343:38528
3311:35168
3279:31808
3247:21312
3215:14112
3183:12112
2525:where
2169:where
1822:
1710:where
1515:> 4
819:4 and
817:modulo
787:where
518:since
386:since
288:
274:where
188:
182:
24:is an
20:, the
3936:(PDF)
3902:(PDF)
3852:71120
3849:14144
3831:2×3×5
3820:68376
3817:10104
3788:74048
3785:12480
3756:68320
3753:13120
3724:52248
3721:10200
3692:43414
3660:52808
3628:49728
3625:10560
3596:31304
3564:29456
3532:34440
3500:27720
3468:19740
3436:17808
3404:18494
3372:16576
3340:11088
3151:9328
3119:5504
3087:3136
3055:2016
3023:1136
1362:, if
815:to 1
309:of a
4091:The
4072:The
4025:ISBN
3994:ISBN
3969:ISBN
3846:2720
3814:1680
3782:1600
3750:2240
3718:2000
3703:2×13
3689:7812
3686:1210
3657:8224
3654:1200
3622:1600
3593:8160
3590:1840
3575:2×11
3561:4608
3558:1120
3529:6552
3497:7200
3494:1520
3465:4380
3462:1240
3433:3480
3401:4092
3369:4160
3337:3264
3308:8456
3305:2040
3276:9240
3273:2080
3244:7560
3241:2400
3212:4424
3209:1560
3180:3542
3148:3444
3145:1020
3116:2368
3084:1288
2991:448
2959:112
2341:The
1443:are
1414:even
1412:are
1194:and
74:The
3914:doi
3843:576
3811:240
3779:192
3767:2×7
3747:320
3715:336
3683:248
3639:2×3
3619:192
3587:288
3555:256
3543:3×7
3526:752
3523:144
3511:2×5
3491:160
3459:312
3447:2×3
3430:480
3427:144
3398:730
3366:960
3363:192
3351:3×5
3334:800
3331:192
3319:2×7
3302:560
3299:112
3270:400
3255:2×3
3238:560
3206:560
3203:144
3191:2×5
3177:876
3174:250
3171:104
3142:200
3113:960
3110:320
3081:544
3078:240
3063:2×3
3052:840
3049:312
3046:112
3020:574
3017:252
2988:280
2985:160
2927:16
2230:= 8
2217:= 8
2002:= 6
1957:min
1861:= 2
1747:= 4
1642:mod
1600:mod
1497:= 3
1445:odd
1364:all
1250:mod
1171:mod
915:mod
805:of
636:= 2
311:set
16:In
4107::
4089:.
4070:.
4051:.
3952:^
3944:31
3942:.
3938:.
3910:71
3908:.
3904:.
3840:48
3828:30
3808:72
3799:29
3796:29
3764:28
3744:32
3732:27
3712:72
3700:26
3680:30
3677:12
3668:25
3651:96
3648:24
3636:24
3607:23
3604:23
3584:24
3572:22
3552:48
3540:21
3520:24
3508:20
3488:24
3479:19
3476:19
3456:36
3444:18
3424:48
3415:17
3412:17
3395:24
3380:16
3348:15
3328:48
3316:14
3296:24
3287:13
3284:13
3267:96
3252:12
3235:96
3232:24
3223:11
3220:11
3200:24
3188:10
3168:30
3139:24
3136:12
3107:64
3075:96
3072:24
3043:48
3040:24
3014:90
3011:24
2982:80
2979:32
2956:84
2953:60
2950:40
2947:24
2944:12
2924:14
2921:12
2918:10
2895:1
2863:)
2656:16
2394::
2265:16
2232::
2210:.
1740:.
1731:.
1660:12
1558:24
1517:,
66:.
4057:.
4033:.
4002:.
3977:.
3920:.
3916::
3837:0
3834:0
3805:8
3802:0
3776:0
3773:0
3770:0
3741:0
3738:0
3735:3
3709:8
3706:0
3674:2
3671:5
3645:0
3642:0
3616:0
3613:0
3610:0
3581:0
3578:0
3549:0
3546:0
3517:8
3514:0
3485:0
3482:0
3453:4
3450:0
3421:8
3418:0
3392:6
3389:4
3386:2
3383:2
3360:0
3357:0
3354:0
3325:0
3322:0
3293:8
3290:0
3264:8
3261:0
3258:0
3229:0
3226:0
3197:8
3194:0
3165:4
3162:2
3159:3
3156:9
3133:4
3130:0
3127:2
3124:8
3104:0
3101:0
3098:0
3095:7
3092:7
3069:0
3066:0
3060:6
3037:8
3034:0
3031:5
3028:5
3008:6
3005:4
3002:2
2999:2
2996:4
2976:8
2973:0
2970:0
2967:3
2964:3
2941:4
2938:0
2935:2
2932:2
2915:8
2912:6
2909:4
2906:2
2903:1
2900:1
2892:1
2889:1
2886:1
2883:1
2880:1
2877:1
2874:1
2871:0
2868:0
2861:n
2859:(
2857:8
2854:r
2850:)
2848:n
2846:(
2844:7
2841:r
2837:)
2835:n
2833:(
2831:6
2828:r
2824:)
2822:n
2820:(
2818:5
2815:r
2811:)
2809:n
2807:(
2805:4
2802:r
2798:)
2796:n
2794:(
2792:3
2789:r
2785:)
2783:n
2781:(
2779:2
2776:r
2772:)
2770:n
2768:(
2766:1
2763:r
2759:=
2755:n
2736:8
2733:,
2727:,
2724:1
2721:=
2718:k
2714:,
2711:)
2708:n
2705:(
2700:k
2696:r
2667:.
2661:+
2652:q
2648:2
2645:+
2640:9
2636:q
2632:2
2629:+
2624:4
2620:q
2616:2
2613:+
2610:q
2607:2
2604:+
2601:1
2598:=
2591:2
2587:n
2582:q
2565:=
2562:n
2554:=
2551:)
2548:q
2545:;
2542:0
2539:(
2510:,
2505:n
2501:q
2497:)
2494:n
2491:(
2486:k
2482:r
2471:0
2468:=
2465:n
2457:=
2454:)
2451:q
2448:(
2443:k
2438:3
2430:=
2425:k
2421:)
2417:q
2414:;
2411:0
2408:(
2387:k
2372:)
2369:n
2366:(
2361:k
2357:r
2321:.
2316:3
2312:d
2306:d
2303:+
2300:n
2296:)
2292:1
2286:(
2281:n
2273:d
2262:=
2259:)
2256:n
2253:(
2248:8
2244:r
2228:k
2215:k
2193:)
2178:(
2154:,
2149:)
2143:)
2137:d
2133:4
2123:(
2115:)
2108:d
2104:/
2100:n
2095:4
2085:(
2081:4
2076:(
2069:2
2065:d
2059:n
2053:d
2045:4
2042:=
2039:)
2036:n
2033:(
2028:6
2024:r
2009:n
2000:k
1983:.
1980:)
1977:m
1972:}
1969:1
1966:,
1963:k
1960:{
1953:2
1949:(
1943:8
1940:=
1937:)
1934:n
1931:(
1926:4
1922:r
1894:)
1891:n
1888:(
1883:4
1879:r
1868:m
1863:m
1859:n
1841:.
1838:d
1833:d
1825:4
1819:,
1816:n
1808:d
1800:8
1797:=
1794:)
1791:n
1788:(
1783:4
1779:r
1760:n
1745:k
1737:n
1728:m
1719:)
1717:m
1715:(
1713:h
1688:,
1678:)
1675:n
1672:4
1666:(
1663:h
1653:,
1649:)
1646:8
1639:(
1634:7
1628:n
1618:0
1611:,
1607:)
1604:8
1597:(
1592:3
1586:n
1576:,
1573:)
1570:n
1564:(
1561:h
1552:{
1547:=
1544:)
1541:n
1538:(
1533:3
1529:r
1513:n
1495:k
1489:.
1477:0
1474:=
1471:)
1468:n
1465:(
1460:2
1456:r
1429:i
1425:h
1397:,
1392:2
1388:h
1384:,
1379:1
1375:h
1347:)
1344:1
1341:+
1336:2
1332:f
1328:(
1325:)
1322:1
1319:+
1314:1
1310:f
1306:(
1303:4
1300:=
1297:)
1294:n
1291:(
1286:2
1282:r
1257:)
1254:4
1247:(
1242:3
1234:i
1230:q
1207:i
1203:q
1182:,
1178:)
1175:4
1168:(
1163:1
1155:i
1151:p
1124:i
1120:p
1092:2
1088:h
1082:2
1078:q
1070:1
1066:h
1060:1
1056:q
1045:2
1041:f
1035:2
1031:p
1023:1
1019:f
1013:1
1009:p
1003:g
999:2
995:=
992:n
964:2
960:/
956:)
953:1
947:d
944:(
940:)
936:1
930:(
922:)
919:4
912:(
907:3
904:,
901:1
893:d
888:n
882:d
872:4
869:=
866:)
863:n
860:(
855:2
851:r
836:n
831:)
829:n
827:(
825:3
822:d
808:n
799:)
797:n
795:(
793:1
790:d
772:)
769:)
766:n
763:(
758:3
754:d
747:)
744:n
741:(
736:1
732:d
728:(
725:4
722:=
719:)
716:n
713:(
708:2
704:r
690:)
688:n
686:(
684:2
681:r
657:•
649:•
634:k
612:0
609:=
606:)
603:3
600:(
595:2
591:r
568:2
564:)
560:1
554:(
551:+
546:2
542:)
538:1
532:(
529:=
526:2
506:4
503:=
500:)
497:2
494:(
489:2
485:r
462:2
458:0
454:+
449:2
445:)
441:1
435:(
432:=
427:2
423:)
419:1
413:(
410:+
405:2
401:0
397:=
394:1
374:4
371:=
368:)
365:1
362:(
357:2
353:r
338:k
332:n
327:)
325:n
323:(
320:k
316:r
292:|
283:|
258:|
254:}
249:2
244:k
240:a
236:+
230:+
225:2
220:2
216:a
212:+
207:2
202:1
198:a
194:=
191:n
185::
177:k
172:Z
164:)
159:k
155:a
151:,
145:,
140:2
136:a
132:,
127:1
123:a
119:(
116:{
112:|
108:=
105:)
102:n
99:(
94:k
90:r
64:)
62:n
60:(
57:k
53:r
40:k
34:n
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.