{"id":27094,"date":"2024-10-27T13:43:38","date_gmt":"2024-10-27T13:43:38","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=27094"},"modified":"2024-11-26T07:22:38","modified_gmt":"2024-11-26T07:22:38","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%86%8c%ec%88%98-%ea%b5%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/27094\/","title":{"rendered":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \ubb38\uc81c \uc124\uba85<\/h2>\n<p>\uc774\ubc88 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \uc218 N\ubcf4\ub2e4 \uc791\uac70\ub098 \uac19\uc740 \uc18c\uc218\ub97c \uc804\ubd80 \uad6c\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc18c\uc218\ub780 1\uacfc \uc790\uae30 \uc790\uc2e0\ub9cc\uc744 \uc57d\uc218\ub85c \uac00\uc9c0\ub294 \uc815\uc218\ub97c \ub73b\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 2, 3, 5, 7, 11, 13 \ub4f1\uc740 \uc18c\uc218\uc785\ub2c8\ub2e4.<\/p>\n<h2>\ubb38\uc81c \uc815\uc758<\/h2>\n<p>\ub2e4\uc74c\uacfc \uac19\uc740 \uc870\uac74\uc744 \ub9cc\uc871\ud558\ub294 \uc18c\uc218\ub97c \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc138\uc694.<\/p>\n<pre>\n        \ud568\uc218 \uc774\ub984: find_primes\n        \uc785\ub825: \uc815\uc218 N (2 \u2264 N \u2264 10^6)\n        \ucd9c\ub825: N\ubcf4\ub2e4 \uc791\uac70\ub098 \uac19\uc740 \ubaa8\ub4e0 \uc18c\uc218\ub97c \ub9ac\uc2a4\ud2b8\ub85c \ubc18\ud658\n    <\/pre>\n<h2>2. \uc811\uadfc \ubc29\uc2dd<\/h2>\n<p>\uc18c\uc218\ub97c \ucc3e\uae30 \uc704\ud574 \uac00\uc7a5 \ub9ce\uc774 \uc0ac\uc6a9\ub418\ub294 \ubc29\ubc95 \uc911 \ud558\ub098\ub294 &#8216;\uc5d0\ub77c\ud1a0\uc2a4\ud14c\ub124\uc2a4\uc758 \uccb4&#8217;\ub77c\uace0 \ubd88\ub9ac\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc774 \uc54c\uace0\ub9ac\uc998\uc740 \uc8fc\uc5b4\uc9c4 \ubc94\uc704 \ub0b4\uc758 \ubaa8\ub4e0 \uc18c\uc218\ub97c \ud6a8\uc728\uc801\uc73c\ub85c \ucc3e\ub294 \ubc29\ubc95\uc73c\ub85c, \uc544\ub798\uc640 \uac19\uc740 \ub2e8\uacc4\ub85c \uc9c4\ud589\ub429\ub2c8\ub2e4.<\/p>\n<ol>\n<li>2\ubd80\ud130 N\uae4c\uc9c0\uc758 \uc815\uc218\ub97c \ud3ec\ud568\ud558\ub294 \ub9ac\uc2a4\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub9ac\uc2a4\ud2b8\uc5d0\uc11c 2\uc758 \ubc30\uc218\ub4e4\uc744 \ubaa8\ub450 \uc0ad\uc81c\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub2e4\uc74c \ub0a8\uc740 \uc218\uc5d0 \ub300\ud574 \uac19\uc740 \uacfc\uc815\uc744 \ubc18\ubcf5\ud569\ub2c8\ub2e4. (\uc989, \ud604\uc7ac \uc218\uc758 \ubc30\uc218\ub97c \ubaa8\ub450 \uc0ad\uc81c)<\/li>\n<li>N\uae4c\uc9c0\uc758 \uc218\ub97c \ubaa8\ub450 \ucc98\ub9ac\ud560 \ub54c\uae4c\uc9c0 \uc774\ub97c \ubc18\ubcf5\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub9c8\uc9c0\ub9c9\uae4c\uc9c0 \ub0a8\uc740 \uc218\ub4e4\uc774 \uc18c\uc218\uc785\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>3. \uc54c\uace0\ub9ac\uc998 \uad6c\ud604<\/h2>\n<p>\uc774\uc81c \uc704\uc5d0\uc11c \uc124\uba85\ud55c \uc5d0\ub77c\ud1a0\uc2a4\ud14c\ub124\uc2a4\uc758 \uccb4 \uc54c\uace0\ub9ac\uc998\uc744 \ud30c\uc774\uc36c\uc73c\ub85c \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798\ub294 \uc804\uccb4 \ucf54\ub4dc\uc785\ub2c8\ub2e4.<\/p>\n<pre>\ndef find_primes(N):\n    # 0\uacfc 1\uc740 \uc18c\uc218\uac00 \uc544\ub2c8\ubbc0\ub85c \ubbf8\ub9ac \ubc30\uc81c\ud569\ub2c8\ub2e4.\n    if N &lt; 2:\n        return []\n    \n    # \uc18c\uc218\ub97c \ucc3e\uae30 \uc704\ud55c \ub9ac\uc2a4\ud2b8 \ucd08\uae30\ud654\n    sieve = [True] * (N + 1)  # \ubaa8\ub4e0 \uc218\ub97c \uc18c\uc218 \uac00\ub2a5\uc131\uc73c\ub85c \ucd08\uae30\ud654\n    sieve[0], sieve[1] = False, False  # 0\uacfc 1\uc740 \uc18c\uc218\uac00 \uc544\ub2d8\n\n    for i in range(2, int(N**0.5) + 1):  # 2\ubd80\ud130 sqrt(N)\uae4c\uc9c0 \uc9c4\ud589\n        if sieve[i]:  # i\uac00 \uc18c\uc218\uc77c \uacbd\uc6b0\n            for j in range(i * i, N + 1, i):  # i\uc758 \ubc30\uc218\ub97c False\ub85c \uc124\uc815\n                sieve[j] = False\n\n    # \uc18c\uc218 \ub9ac\uc2a4\ud2b8 \uc0dd\uc131\n    primes = [i for i, is_prime in enumerate(sieve) if is_prime]\n    return primes\n\n# \ud14c\uc2a4\ud2b8\nN = 100\nprint(find_primes(N))  # \ucd9c\ub825: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]\n    <\/pre>\n<h2>4. \ucf54\ub4dc \uc124\uba85<\/h2>\n<p>\ucf54\ub4dc\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\ub3d9\ud569\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc6b0\uc120, \ub9ac\uc2a4\ud2b8 &#8216;sieve&#8217;\ub97c \uc0dd\uc131\ud558\uc5ec N+1 \ud06c\uae30\uc758 \ubc30\uc5f4\uc744 True\ub85c \ucd08\uae30\ud654\ud569\ub2c8\ub2e4. \uc774 \ubc30\uc5f4\uc5d0\uc11c \uc778\ub371\uc2a4\ub294 \uc218\ub97c \uc758\ubbf8\ud558\uace0, \uac12\uc774 True\uc778 \uacbd\uc6b0 \ud574\ub2f9 \uc218\uac00 \uc18c\uc218\uc784\uc744 \ub098\ud0c0\ub0c5\ub2c8\ub2e4.<\/li>\n<li>0\uacfc 1\uc740 \uc18c\uc218\uac00 \uc544\ub2c8\ubbc0\ub85c, \uc774 \ub450 \uc778\ub371\uc2a4\ub294 False\ub85c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li>2\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec sqrt(N)\uae4c\uc9c0 \ubc18\ubcf5\ubb38\uc744 \uc2e4\ud589\ud569\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \ud604\uc7ac \uc218 i\uac00 \uc18c\uc218\uc778\uc9c0 \ud655\uc778\ud569\ub2c8\ub2e4 (sieve[i]\uac00 True). \ub9cc\uc57d \uc18c\uc218\uc774\uba74, i\uc758 \ubc30\uc218\ub97c \ubaa8\ub450 False\ub85c \ubcc0\uacbd\ud569\ub2c8\ub2e4.<\/li>\n<li>\ubaa8\ub4e0 \uac80\uc0ac\ub97c \uc644\ub8cc\ud55c \ud6c4, \ucd5c\uc885\uc801\uc73c\ub85c True \uac12\uc774 \ub0a8\uc544 \uc788\ub294 \uc778\ub371\uc2a4\ub97c \ub9ac\uc2a4\ud2b8\ub85c \ub9cc\ub4e4\uc5b4 \uc18c\uc218\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>5. \uc131\ub2a5 \ubd84\uc11d<\/h2>\n<p>\uc5d0\ub77c\ud1a0\uc2a4\ud14c\ub124\uc2a4\uc758 \uccb4 \uc54c\uace0\ub9ac\uc998\uc740 O(n log log n) \ubcf5\uc7a1\ub3c4\ub97c \uac00\uc9c0\uba70, \uc774\ub294 \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc778 \ud3b8\uc785\ub2c8\ub2e4. \ub530\ub77c\uc11c, \uc8fc\uc5b4\uc9c4 \ubb38\uc81c\uc758 \uc870\uac74\uc778 N \u2264 10^6\uc5d0 \ub300\ud574\uc11c\ub3c4 \ube60\ub978 \uc18d\ub3c4\ub85c \uc18c\uc218\ub97c \ucc3e\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\uc18c\uc218\ub97c \uad6c\ud558\ub294 \ubb38\uc81c\ub294 \ub2e4\uc591\ud55c \uc54c\uace0\ub9ac\uc998\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc9c0\ub9cc, \uc5d0\ub77c\ud1a0\uc2a4\ud14c\ub124\uc2a4\uc758 \uccb4 \uc54c\uace0\ub9ac\uc998\uc740 \uadf8 \uc911\uc5d0\uc11c \uac00\uc7a5 \ud6a8\uc728\uc801\uc774\uace0 \uc9c1\uad00\uc801\uc778 \ubc29\ubc95 \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \uc774 \uc54c\uace0\ub9ac\uc998\uc744 \ud65c\uc6a9\ud558\uc5ec \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc73c\ub2c8, \uaf2d \uc775\ud600\ub450\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4!<\/p>\n<h2>7. \ucd94\uac00 \ucc38\uace0 \uc790\ub8cc<\/h2>\n<p>\ub354 \uae4a\uc774 \uc788\ub294 \uc54c\uace0\ub9ac\uc998\uc744 \uacf5\ubd80\ud558\uace0 \uc2f6\ub2e4\uba74 \uc544\ub798\uc758 \uc790\ub8cc\ub97c \ucd94\ucc9c\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Sieve_of_Eratosthenes\">Wikipedia &#8211; Sieve of Eratosthenes<\/a><\/li>\n<li><a href=\"https:\/\/www.geeksforgeeks.org\/sieve-of-eratosthenes-using-python\/\">GeeksforGeeks &#8211; Sieve of Eratosthenes in Python<\/a><\/li>\n<li><a href=\"https:\/\/www.hackerrank.com\/\">HackerRank &#8211; Various Algorithm Challenges<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \ubb38\uc81c \uc124\uba85 \uc774\ubc88 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \uc218 N\ubcf4\ub2e4 \uc791\uac70\ub098 \uac19\uc740 \uc18c\uc218\ub97c \uc804\ubd80 \uad6c\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc18c\uc218\ub780 1\uacfc \uc790\uae30 \uc790\uc2e0\ub9cc\uc744 \uc57d\uc218\ub85c \uac00\uc9c0\ub294 \uc815\uc218\ub97c \ub73b\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 2, 3, 5, 7, 11, 13 \ub4f1\uc740 \uc18c\uc218\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \ub2e4\uc74c\uacfc \uac19\uc740 \uc870\uac74\uc744 \ub9cc\uc871\ud558\ub294 \uc18c\uc218\ub97c \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc138\uc694. \ud568\uc218 \uc774\ub984: find_primes \uc785\ub825: \uc815\uc218 N (2 \u2264 N \u2264 10^6) \ucd9c\ub825: N\ubcf4\ub2e4 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/27094\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30&#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":[23],"tags":[],"class_list":["post-27094","post","type-post","status-publish","format-standard","hentry","category-23"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30 - \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\/27094\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \ubb38\uc81c \uc124\uba85 \uc774\ubc88 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \uc218 N\ubcf4\ub2e4 \uc791\uac70\ub098 \uac19\uc740 \uc18c\uc218\ub97c \uc804\ubd80 \uad6c\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc18c\uc218\ub780 1\uacfc \uc790\uae30 \uc790\uc2e0\ub9cc\uc744 \uc57d\uc218\ub85c \uac00\uc9c0\ub294 \uc815\uc218\ub97c \ub73b\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 2, 3, 5, 7, 11, 13 \ub4f1\uc740 \uc18c\uc218\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \ub2e4\uc74c\uacfc \uac19\uc740 \uc870\uac74\uc744 \ub9cc\uc871\ud558\ub294 \uc18c\uc218\ub97c \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc138\uc694. \ud568\uc218 \uc774\ub984: find_primes \uc785\ub825: \uc815\uc218 N (2 \u2264 N \u2264 10^6) \ucd9c\ub825: N\ubcf4\ub2e4 &hellip; \ub354 \ubcf4\uae30 &quot;\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/27094\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T13:43:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:22:38+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\/27094\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27094\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30\",\"datePublished\":\"2024-10-27T13:43:38+00:00\",\"dateModified\":\"2024-11-26T07:22:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27094\/\"},\"wordCount\":40,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/27094\/\",\"url\":\"https:\/\/atmokpo.com\/w\/27094\/\",\"name\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T13:43:38+00:00\",\"dateModified\":\"2024-11-26T07:22:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/27094\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/27094\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/27094\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30\"}]},{\"@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":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30 - \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\/27094\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \ubb38\uc81c \uc124\uba85 \uc774\ubc88 \ubb38\uc81c\ub294 \uc8fc\uc5b4\uc9c4 \uc218 N\ubcf4\ub2e4 \uc791\uac70\ub098 \uac19\uc740 \uc18c\uc218\ub97c \uc804\ubd80 \uad6c\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc18c\uc218\ub780 1\uacfc \uc790\uae30 \uc790\uc2e0\ub9cc\uc744 \uc57d\uc218\ub85c \uac00\uc9c0\ub294 \uc815\uc218\ub97c \ub73b\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 2, 3, 5, 7, 11, 13 \ub4f1\uc740 \uc18c\uc218\uc785\ub2c8\ub2e4. \ubb38\uc81c \uc815\uc758 \ub2e4\uc74c\uacfc \uac19\uc740 \uc870\uac74\uc744 \ub9cc\uc871\ud558\ub294 \uc18c\uc218\ub97c \uad6c\ud558\ub294 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uc138\uc694. \ud568\uc218 \uc774\ub984: find_primes \uc785\ub825: \uc815\uc218 N (2 \u2264 N \u2264 10^6) \ucd9c\ub825: N\ubcf4\ub2e4 &hellip; \ub354 \ubcf4\uae30 \"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/27094\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T13:43:38+00:00","article_modified_time":"2024-11-26T07:22:38+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\/27094\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/27094\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30","datePublished":"2024-10-27T13:43:38+00:00","dateModified":"2024-11-26T07:22:38+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/27094\/"},"wordCount":40,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/27094\/","url":"https:\/\/atmokpo.com\/w\/27094\/","name":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T13:43:38+00:00","dateModified":"2024-11-26T07:22:38+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/27094\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/27094\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/27094\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ud30c\uc774\uc36c \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uc18c\uc218 \uad6c\ud558\uae30"}]},{"@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\/27094","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=27094"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27094\/revisions"}],"predecessor-version":[{"id":27095,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/27094\/revisions\/27095"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=27094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=27094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=27094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}