[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-698599-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-698599-en":130,"doc-similar-698599":160},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","primitive-pythagorean-triples-parameters-a-and-b-euclids-proposition-29","Primitive Pythagorean Triples - Parameters a and b - Euclid's Proposition 29","","Primitive Pythagorean triples list all positive integer solutions (x, y, z) to x^2 + y^2 = z^2 with gcd(x, y, z) = 1. The text uses parity to select x odd and gives Euclid’s parametrization: (x, y, z) formed from relatively prime odd parameters a and b with 1 ≤ b \u003C a. It then outlines a factoring-based derivation and explains the structure of the accompanying table, including how nonprimitive entries are omitted.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/primitive-pythagorean-triples-parameters-a-and-b-euclids-proposition-29/698599/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/primitive-pythagorean-triples-parameters-a-and-b-euclids-proposition-29/698599.png","ImageObject",300,407,{"name":42,"@type":43},"8796093062539","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-18","2026-11-12",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What makes a Pythagorean triple “primitive” in this document?","Question",{"text":62,"@type":63},"A triple (x; y; z) is primitive when gcd(x, y, z) = 1.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How are all primitive Pythagorean triples parametrized here?",{"text":67,"@type":63},"They are expressed using relatively prime odd parameters a and b with 1 ≤ b \u003C a, yielding x = ab, y = (a^2 − b^2)/2, and z = (a^2 + b^2)/2 (with x chosen odd).",{"name":69,"@type":60,"acceptedAnswer":70},"Why can x be chosen to be odd for primitive triples?",{"text":71,"@type":63},"For any primitive Pythagorean triple, exactly one of x or y is even, so x may always be selected as the odd one.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},698599,1794453571,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":11,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":101,"language":138,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":139,"faqs":140,"seo_title":141,"seo_description":12,"update_tm":79,"read_time":142,"preview_page_count":33,"preview_urls":143},8796093062539,"Primitive Pythagorean Triples  \nD Joyce, Clark University  \nMarch 2006, March 2010  \nThis is a table of primitive Pythagorean triples. A Pythagorean triple (x; y; z) is a triple of positive integers such that x2 + y 2 = z 2 . It is primitive if the greatest common divisor of x, y, and z is 1 . For any primitive Pythagorean triple, either x or y is even, but not both, so we may always choose x to be odd. When that is done, then every primitive Pythagorean triple (x; y; z) is of the form  \n(x; y; z) = 􀀒 ab; a2~~ ~~~~ ~~b2 ; a2~~ ~~+~~2 ~~b2 􀀓  \nwhere the parameters a and b are relatively prime odd numbers, 1 􀀔 b \u003C a.  \nThis parameterization is the one given by Euclid in Proposition 29 of Book X of his Elements. See [http://aleph0.clarku.edu/](http://aleph0.clarku.edu/) ~djoyce/java/elements/bookX/prop29.html  \nHere's a short explanation why these are all the primitive Pythagorean triples. First, we can move the y 2 to the other side of the equation x2 + y 2 = z 2 and rewrite it as x2 = z 2 􀀀 y 2 so that we can factor the the new right side as (z + y)(z 􀀀 y). Next, we can divide by x2 . Then we have 1 = 􀀐 zx + yx􀀑 􀀐 zx 􀀀 yx􀀑 . Thus, the two terms on the right are reciprocals of each other. Let the 􀀌rst one be a=b in lowest terms, so the second is b=a. Thus  \nz   y   a  \n+ =  \nx x b  \nz   y   b  \n􀀀 =  \nx x a  \nSolving those two equations for z=x and y=x we 􀀌nd  \nzx = ~~ ~~1~~2~~ 􀀒 ab + ba􀀓 = a2~~2~~+abb2  \nyx = ~~ ~~1~~2~~ 􀀒 ab 􀀀 ba􀀓 = a2~~2~~b2  \nNote that b \u003C a. Since x, y, and z have no common factor, x is odd, and a and b are relatively prime, it follows that x = ab, both a and b are odd, y = (a2 􀀀 b2 )=2, and z = (a2 + b2 )=2.  \nThe table shows all primitive Pythagorean triples with 1 􀀔 b \u003C a 􀀔 81. Dots appear in place of thenonprimitive Pythagorean triples.  \nIn the 􀀌rst box a = 3 and b = 1 . In the second box a = 5 and b = 1 ; 3. In the third a = 7 and b = 1 ; 3 ; 5.  \nEtc.  \n\n| 3 4 5 | 5 12 13\u003Cbr>15 8 17 | 7 24 25\u003Cbr>21 20 29\u003Cbr>35 12 37 | 9 40 41\u003Cbr>: : :\u003Cbr>45 28 53\u003Cbr>63 16 65 | 11 60 61\u003Cbr>33 56 65\u003Cbr>55 48 73\u003Cbr>77 36 85\u003Cbr>99 20 101 |\n| --- | --- | --- | --- | --- |\n\n\n| 13 84 85\u003Cbr>39 80 89\u003Cbr>65 72 97\u003Cbr>91 60 109\u003Cbr>117 44 125\u003Cbr>143 24 145 | 15 112 113 : : :\u003Cbr>: : : 105 88 137 : : :\u003Cbr>165 52 173\u003Cbr>195 28 197 | 17 144 145\u003Cbr>51 140 149\u003Cbr>85 132 157\u003Cbr>119 120 169\u003Cbr>153 104 185\u003Cbr>187 84 205\u003Cbr>221 60 229\u003Cbr>255 32 257 | 19 180 181\u003Cbr>57 176 185\u003Cbr>95 168 193\u003Cbr>133 156 205\u003Cbr>171 140 221\u003Cbr>209 120 241\u003Cbr>247 96 265\u003Cbr>285 68 293\u003Cbr>323 36 325 | 21 220 221 : : : 105 208 233 : : :\u003Cbr>: : :\u003Cbr>231 160 281\u003Cbr>273 136 305 : : :\u003Cbr>357 76 365\u003Cbr>399 40 401 |\n| --- | --- | --- | --- | --- |\n\n\n| 23 264 265\u003Cbr>69 260 269\u003Cbr>115 252 277\u003Cbr>161 240 289\u003Cbr>207 224 305\u003Cbr>253 204 325\u003Cbr>299 180 349\u003Cbr>345 152 377\u003Cbr>391 120 409\u003Cbr>437 84 445\u003Cbr>483 44 485 | 25 312 313\u003Cbr>75 308 317 : : :\u003Cbr>175 288 337\u003Cbr>225 272 353\u003Cbr>275 252 373\u003Cbr>325 228 397 : : :\u003Cbr>425 168 457\u003Cbr>475 132 493\u003Cbr>525 92 533\u003Cbr>575 48 577 | 27 364 365 : : :\u003Cbr>135 352 377\u003Cbr>189 340 389 : : :\u003Cbr>297 304 425\u003Cbr>351 280 449 : : :\u003Cbr>459 220 509\u003Cbr>513 184 545 : : :\u003Cbr>621 100 629\u003Cbr>675 52 677 | 29 420 421\u003Cbr>87 416 425\u003Cbr>145 408 433\u003Cbr>203 396 445\u003Cbr>261 380 461\u003Cbr>319 360 481\u003Cbr>377 336 505\u003Cbr>435 308 533\u003Cbr>493 276 565\u003Cbr>551 240 601\u003Cbr>609 200 641\u003Cbr>667 156 685\u003Cbr>725 108 733\u003Cbr>783 56 785 | 31 480 481\u003Cbr>93 476 485\u003Cbr>155 468 493\u003Cbr>217 456 505\u003Cbr>279 440 521\u003Cbr>341 420 541\u003Cbr>403 396 565\u003Cbr>465 368 593\u003Cbr>527 336 625\u003Cbr>589 300 661\u003Cbr>651 260 701\u003Cbr>713 216 745\u003Cbr>775 168 793\u003Cbr>837 116 845\u003Cbr>899 60 901 |\n| --- | --- | --- | --- | --- |\n\n\n| 33 544 545 : : : 165 532 557 231 520 569 : : :: : : 429 460 629 : : : 561 400 689 627 364 725 : : : 759 280 809 825 232 857 : : : 957 124 965 1023 64 1025 | 35 612 613 105 608 617 : : :: : :\u003Cbr>315 572 653\u003Cbr>385 552 673 455 528 697 : : : 595 468 757 665 432 793 : : : 805 348 877 : : : 945 248 977 1015 192 1033\u003Cbr>1085 132 1093 1155 68 1157 | 37 684 685 111 680 689 185 672 697 259 660 709 333 644 725 407 624","cbCaicz36vXnsOxu","https://ap.wps.com/l/cbCaicz36vXnsOxu","pdf",67279,"English","# Primitive Pythagorean triples\n## Definition and parity property\n## Euclid parametrization using a and b\n## Derivation sketch via factoring\n## Interpreting the table","[{\"question\":\"What makes a Pythagorean triple “primitive” in this document?\",\"answer\":\"A triple (x; y; z) is primitive when gcd(x, y, z) = 1.\"},{\"question\":\"How are all primitive Pythagorean triples parametrized here?\",\"answer\":\"They are expressed using relatively prime odd parameters a and b with 1 ≤ b \\u003c a, yielding x = ab, y = (a^2 − b^2)/2, and z = (a^2 + b^2)/2 (with x chosen odd).\"},{\"question\":\"Why can x be chosen to be odd for primitive triples?\",\"answer\":\"For any primitive Pythagorean triple, exactly one of x or y is even, so x may always be selected as the odd one.\"}]","Primitive Pythagorean Triples - Parameters a and b - Euclid's Proposition 29 | PDF",15,[144,148,152,156],{"page_no":22,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/902d3bf94c7bd8b6b99ee3ceb1a362f8.webp",983,1390,{"page_no":26,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/8ee91dd254e27b0119333505064055cd.webp",982,1388,{"page_no":30,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f1aa83e51a8d7ecfb4d6dd9b9c9e0fe7.webp",981,1387,{"page_no":33,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/4f2882adb521a1d766e47a9f77115f74.webp",980,1385,{"list":161,"token":11},[162,168,174,180,186,192,198,204,211,217],{"doc_id":163,"doc_title":164,"file_type":136,"home_preview_img_url":165,"slug":166,"view_count":96,"category_name":29,"create_tm":167},698606,"On Pythagorean triplets - arXiv 2306.12920v1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010367922/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=HdFtqBhak9qtUqB2EQ0hiXmH1kw%3D","on-pythagorean-triplets-arxiv-230612920v1",1794453593,{"doc_id":169,"doc_title":170,"file_type":136,"home_preview_img_url":171,"slug":172,"view_count":33,"category_name":29,"create_tm":173},698601,"PYTHAGOREAN TRIPLES - Keith Conrad - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010367758/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=S6kdy%2Bok2n9i0m86j9IbzXznzlI%3D","pythagorean-triples-keith-conrad-introduction",1794453578,{"doc_id":175,"doc_title":176,"file_type":136,"home_preview_img_url":177,"slug":178,"view_count":33,"category_name":29,"create_tm":179},698603,"Chapter 2 - Pythagorean Triples - Introductory Number Theory","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010367827/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=4ksfmIUSPoW8xJkk%2FC79v%2BgQcXg%3D","chapter-2-pythagorean-triples-introductory-number-theory",1794453586,{"doc_id":181,"doc_title":182,"file_type":136,"home_preview_img_url":183,"slug":184,"view_count":30,"category_name":29,"create_tm":185},698602,"SYSTEMS OF PYTHAGOREAN TRIPLES - Christopher Tobin-Campbell","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010367763/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=HnJrx4wVrlfTBcEVIS7c%2BqlEoBQ%3D","systems-of-pythagorean-triples-christopher-tobin-campbell",1794453580,{"doc_id":187,"doc_title":188,"file_type":136,"home_preview_img_url":189,"slug":190,"view_count":30,"category_name":29,"create_tm":191},698607,"PYTHAGOREAN TRIPLES CONTAINING FIBONACCI NUMBERS:SOLUTIONS - Marjorie Bicknell-Johnson","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010368266/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=ho4B8%2BGFuWLgVfbAR1%2FBVD6IGgU%3D","pythagorean-triples-containing-fibonacci-numberssolutions-marjorie-bicknell-johnson",1794453600,{"doc_id":193,"doc_title":194,"file_type":136,"home_preview_img_url":195,"slug":196,"view_count":33,"category_name":29,"create_tm":197},698604,"Parabola Volume 59 - Issue 2 - Unlocking a new realm of Pythagorean triples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009264472/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=QoFHL%2FZTfj1hca0zuJmTECmdgwU%3D","parabola-volume-59-issue-2-unlocking-a-new-realm-of-pythagorean-triples",1794453590,{"doc_id":199,"doc_title":200,"file_type":136,"home_preview_img_url":201,"slug":202,"view_count":30,"category_name":29,"create_tm":203},669103,"History of Mathematics - Class 2 - Friday January 22 Egyptian and Babylonian mathematics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229987874607/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=bQ0p%2Fa2DS1D5a%2BFAoBKgpgd0ErM%3D","history-of-mathematics-class-2-friday-january-22-egyptian-and-babylonian-mathematics",1793529344,{"doc_id":205,"doc_title":206,"file_type":136,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},345101,"All elementary functions from a single operator - arXiv: 2603.21852v2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910878243/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=Lw3vbNAvSLDlJBk7wkk52VIE93s%3D","all-elementary-functions-from-a-single-operator-arxiv-260321852v2",14,1790056522,{"doc_id":212,"doc_title":213,"file_type":136,"home_preview_img_url":214,"slug":215,"view_count":115,"category_name":29,"create_tm":216},504701,"Fast square-free decomposition of integers using class groups - Erik Mulder - 17 July 2024","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229932119758/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=KqHBuHVG%2FHuEls6nmVg1jSjPMRQ%3D","fast-square-free-decomposition-of-integers-using-class-groups-erik-mulder-17-july-2024",1791073121,{"doc_id":218,"doc_title":219,"file_type":136,"home_preview_img_url":220,"slug":221,"view_count":222,"category_name":29,"create_tm":223},656882,"Energy-level diagrams in Nuclear Physics - Magic Numbers in Nuclear Physics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974802908/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109059&Signature=9t%2B2n3kUr9WBFfBDShrmuqCH%2Fl0%3D","energy-level-diagrams-in-nuclear-physics-magic-numbers-in-nuclear-physics",22,1792971308]