{"id":28081,"date":"2024-10-27T15:21:21","date_gmt":"2024-10-27T15:21:21","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=28081"},"modified":"2024-11-26T07:10:01","modified_gmt":"2024-11-26T07:10:01","slug":"%ec%9e%90%eb%b0%94%ec%8a%a4%ed%81%ac%eb%a6%bd%ed%8a%b8-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ed%99%95%ec%9e%a5-%ec%9c%a0%ed%81%b4%eb%a6%ac%eb%93%9c-%ed%98%b8%ec%a0%9c","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/28081\/","title":{"rendered":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95"},"content":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694, \uc5ec\ub7ec\ubd84! \uc624\ub298\uc740 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc0ac\uc6a9\ud55c \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc911\uc694\ud55c \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\uc778 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Extended Euclidean Algorithm)\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uac1c\ub150, \uc774\ub97c \uc774\uc6a9\ud55c \ubb38\uc81c\ud480\uc774 \uacfc\uc815, \uadf8\ub9ac\uace0 \uc2e4\uc9c8\uc801\uc778 \ucf54\ub4dc \uc608\uc81c\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<h2>1. \ubb38\uc81c \uc124\uba85<\/h2>\n<p>\ubb38\uc81c\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \uc815\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub450 \uc815\uc218 A\uc640 B\uac00 \uc8fc\uc5b4\uc9c0\uba74, AX + BY = GCD(A, B)\ub97c \ub9cc\uc871\ud558\ub294 \uc815\uc218 X\uc640 Y\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c GCD\ub294 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4.<\/p>\n<h3>\uc608\uc81c<\/h3>\n<p>\uc785\ub825: A = 30, B = 21<\/p>\n<p>\ucd9c\ub825: X = 1, Y = -1, GCD = 3<\/p>\n<p>\ud480\uc774: 30 * 1 + 21 * (-1) = 3<\/p>\n<h2>2. \uac1c\ub150 \uc124\uba85<\/h2>\n<p>\ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc740 \ub450 \uc815\uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218(GCD)\ub97c \uacc4\uc0b0\ud560 \ubfd0\ub9cc \uc544\ub2c8\ub77c, \uc774\ub85c\ubd80\ud130 \ud2b9\uc815 \uacc4\uc218\ub4e4\uc744 \ucc3e\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc774\ub294 \uc8fc\ub85c \ub2e4\uc74c\uc758 \uc218\uc2dd\uc5d0\uc11c \uc0ac\uc6a9\ub429\ub2c8\ub2e4:<\/p>\n<p>AX + BY = GCD(A, B)<\/p>\n<p>\uc5ec\uae30\uc11c A\uc640 B\ub294 \uc8fc\uc5b4\uc9c4 \ub450 \uc815\uc218, X\uc640 Y\ub294 \uc6b0\ub9ac\uac00 \ucc3e\uace0\uc790 \ud558\ub294 \uc815\uc218\uc785\ub2c8\ub2e4. \ub9cc\uc57d GCD\uac00 1\uc774\ub77c\uba74, A\uc640 B\ub294 \uc11c\ub85c \uc18c\uc774\ubbc0\ub85c X\uc640 Y\ub294 \ubaa8\ub4c8\ub7ec \uc5ed\uc218\ub97c \ucc3e\ub294 \ub370\uc5d0\ub3c4 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<h2>3. \uc811\uadfc \ubc29\ubc95<\/h2>\n<p>\uc6b0\ub9ac\ub294 GCD\ub97c \uad6c\ud558\ub294 \uc77c\ubc18\uc801\uc778 \uc720\ud074\ub9ac\ub4dc \uc54c\uace0\ub9ac\uc998\uc744 \uae30\ubc18\uc73c\ub85c \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud560 \uac83\uc785\ub2c8\ub2e4. \uc54c\uace0\ub9ac\uc998\uc758 \uc8fc\uc694 \uc544\uc774\ub514\uc5b4\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\ub450 \uc815\uc218 A\uc640 B\ub97c \uc785\ub825\ubc1b\uc2b5\ub2c8\ub2e4.<\/li>\n<li>If B\ub294 0\uc774\uba74, GCD\ub294 A\uc774\uba70, X\ub294 1, Y\ub294 0\uc785\ub2c8\ub2e4.<\/li>\n<li>\uadf8\ub807\uc9c0 \uc54a\uc73c\uba74, \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec B\uc640 A % B\ub85c \uc7ac\uadc0 \ud638\ucd9c\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc7ac\uadc0 \ud638\ucd9c\uc758 \uacb0\uacfc\ub97c \uc774\uc6a9\ud574 X\uc640 Y\uc758 \uac12\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>4. \uc54c\uace0\ub9ac\uc998 \uad6c\ud604<\/h2>\n<p>\ub2e4\uc74c\uc740 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \uc54c\uace0\ub9ac\uc998\uc744 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub85c \uad6c\ud604\ud55c \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>\nfunction extendedGCD(a, b) {\n    if (b === 0) { \/\/ Base case\n        return { gcd: a, x: 1, y: 0 };\n    }\n    \/\/ Recur with the new parameters b and a % b\n    const { gcd, x: x1, y: y1 } = extendedGCD(b, a % b);\n    const x = y1;\n    const y = x1 - Math.floor(a \/ b) * y1;\n    return { gcd, x, y };\n}\n\n\/\/ Test the function with example values\nconst a = 30;\nconst b = 21;\nconst { gcd, x, y } = extendedGCD(a, b);\nconsole.log(`GCD: ${gcd}, X: ${x}, Y: ${y}`);\n<\/code><\/pre>\n<h3>5. \ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\uc704 \ucf54\ub4dc\uc5d0\uc11c \uc6b0\ub9ac\ub294 \uc7ac\uadc0\uc801\uc73c\ub85c GCD\ub97c \uad6c\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uae30\ubcf8 \uc870\uac74\uc5d0\uc11c\ub294 B\uac00 0\uc77c \ub54c GCD\ub294 A\uac00 \ub418\uace0, \uc774 \ub54c X\ub294 1, Y\ub294 0\uc774 \ub429\ub2c8\ub2e4. \uadf8 \ud6c4, \ubc18\ud658\ub41c X\uc640 Y \uac12\uc744 \uc774\uc6a9\ud574 \uc0c8\ub85c\uc6b4 X\uc640 Y\ub97c \uacc4\uc0b0\ud558\uc5ec \ucd5c\uc885\uc801\uc73c\ub85c \uc6b0\ub9ac\uac00 \uc6d0\ud558\ub294 \uacb0\uacfc\ub97c \uc5bb\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>6. \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4<\/h2>\n<p>\uc774\uc81c \ub2e4\uc591\ud55c \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4\ub97c \ud1b5\ud574 \uc704\uc758 \ud568\uc218\ub97c \uac80\uc99d\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\n\/\/ Test cases\nconst testCases = [\n    { a: 30, b: 21 },\n    { a: 48, b: 18 },\n    { a: 56, b: 15 },\n    { a: 101, b: 10 },\n];\n\ntestCases.forEach(({ a, b }) =&gt; {\n    const { gcd, x, y } = extendedGCD(a, b);\n    console.log(`A: ${a}, B: ${b} =&gt; GCD: ${gcd}, X: ${x}, Y: ${y}`);\n});\n<\/code><\/pre>\n<h2>7. \uc815\ub9ac<\/h2>\n<p>\uc624\ub298\uc740 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774 \uc54c\uace0\ub9ac\uc998\uc740 \ub450 \uc815\uc218\uc758 \ucd5c\ub300\uacf5\uc57d\uc218\ub97c \uad6c\ud558\uace0, \uc774\uc5d0 \ub300\ud55c \ud2b9\uc815 \uacc4\uc218\ub97c \ucc3e\ub294 \ub370 \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \ud2b9\ud788 \ubaa8\ub4c8\ub7ec \uc5f0\uc0b0\uc774\ub098 \ubcf5\uc7a1\ud55c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\uc5d0\uc11c \uc885\uc885 \ud65c\uc6a9\ub418\ubbc0\ub85c, \ucda9\ubd84\ud788 \uc774\ud574\ud558\uace0 \uc5f0\uc2b5\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p>\uc774 \uae00\uc5d0\uc11c \uc0ac\uc6a9\ud55c \uc54c\uace0\ub9ac\uc998\uc774 \uc5ec\ub7ec\ubd84\uc758 \ucf54\ub529 \uc2dc\ud5d8 \uc900\ube44\uc5d0 \ub3c4\uc6c0\uc774 \ub418\uae38 \ubc14\ub78d\ub2c8\ub2e4. \ucd94\uac00 \uc9c8\ubb38\uc774 \uc788\ub2e4\uba74 \ub313\uae00\ub85c \ub0a8\uaca8\uc8fc\uc138\uc694!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694, \uc5ec\ub7ec\ubd84! \uc624\ub298\uc740 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc0ac\uc6a9\ud55c \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc911\uc694\ud55c \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\uc778 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Extended Euclidean Algorithm)\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uac1c\ub150, \uc774\ub97c \uc774\uc6a9\ud55c \ubb38\uc81c\ud480\uc774 \uacfc\uc815, \uadf8\ub9ac\uace0 \uc2e4\uc9c8\uc801\uc778 \ucf54\ub4dc \uc608\uc81c\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. 1. \ubb38\uc81c \uc124\uba85 \ubb38\uc81c\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \uc815\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub450 \uc815\uc218 A\uc640 B\uac00 \uc8fc\uc5b4\uc9c0\uba74, AX + BY = GCD(A, B)\ub97c \ub9cc\uc871\ud558\ub294 \uc815\uc218 X\uc640 Y\ub97c \uad6c\ud558\ub294 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/28081\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[26],"tags":[],"class_list":["post-28081","post","type-post","status-publish","format-standard","hentry","category-26"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/28081\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694, \uc5ec\ub7ec\ubd84! \uc624\ub298\uc740 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc0ac\uc6a9\ud55c \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc911\uc694\ud55c \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\uc778 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Extended Euclidean Algorithm)\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uac1c\ub150, \uc774\ub97c \uc774\uc6a9\ud55c \ubb38\uc81c\ud480\uc774 \uacfc\uc815, \uadf8\ub9ac\uace0 \uc2e4\uc9c8\uc801\uc778 \ucf54\ub4dc \uc608\uc81c\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. 1. \ubb38\uc81c \uc124\uba85 \ubb38\uc81c\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \uc815\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub450 \uc815\uc218 A\uc640 B\uac00 \uc8fc\uc5b4\uc9c0\uba74, AX + BY = GCD(A, B)\ub97c \ub9cc\uc871\ud558\ub294 \uc815\uc218 X\uc640 Y\ub97c \uad6c\ud558\ub294 &hellip; \ub354 \ubcf4\uae30 &quot;\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/28081\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T15:21:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:10:01+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/28081\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28081\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\",\"datePublished\":\"2024-10-27T15:21:21+00:00\",\"dateModified\":\"2024-11-26T07:10:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28081\/\"},\"wordCount\":59,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/28081\/\",\"url\":\"https:\/\/atmokpo.com\/w\/28081\/\",\"name\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T15:21:21+00:00\",\"dateModified\":\"2024-11-26T07:10:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/28081\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/28081\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/28081\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/28081\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694, \uc5ec\ub7ec\ubd84! \uc624\ub298\uc740 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc0ac\uc6a9\ud55c \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0\uc11c \uc911\uc694\ud55c \uc54c\uace0\ub9ac\uc998 \uc911 \ud558\ub098\uc778 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95(Extended Euclidean Algorithm)\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\uc758 \uac1c\ub150, \uc774\ub97c \uc774\uc6a9\ud55c \ubb38\uc81c\ud480\uc774 \uacfc\uc815, \uadf8\ub9ac\uace0 \uc2e4\uc9c8\uc801\uc778 \ucf54\ub4dc \uc608\uc81c\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. 1. \ubb38\uc81c \uc124\uba85 \ubb38\uc81c\ub97c \ub2e4\uc74c\uacfc \uac19\uc774 \uc815\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub450 \uc815\uc218 A\uc640 B\uac00 \uc8fc\uc5b4\uc9c0\uba74, AX + BY = GCD(A, B)\ub97c \ub9cc\uc871\ud558\ub294 \uc815\uc218 X\uc640 Y\ub97c \uad6c\ud558\ub294 &hellip; \ub354 \ubcf4\uae30 \"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95\"","og_url":"https:\/\/atmokpo.com\/w\/28081\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T15:21:21+00:00","article_modified_time":"2024-11-26T07:10:01+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/28081\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/28081\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95","datePublished":"2024-10-27T15:21:21+00:00","dateModified":"2024-11-26T07:10:01+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/28081\/"},"wordCount":59,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/28081\/","url":"https:\/\/atmokpo.com\/w\/28081\/","name":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T15:21:21+00:00","dateModified":"2024-11-26T07:10:01+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/28081\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/28081\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/28081\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \ud655\uc7a5 \uc720\ud074\ub9ac\ub4dc \ud638\uc81c\ubc95"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=28081"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28081\/revisions"}],"predecessor-version":[{"id":28082,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/28081\/revisions\/28082"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=28081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=28081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=28081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}