Upgrade to Pro — share decks privately, control downloads, hide ads and more …

素数の作り方(かんたん版)

 素数の作り方(かんたん版)

kurenaif

May 25, 2021
Tweet

More Decks by kurenaif

Other Decks in Technology

Transcript

  1. ૉ਺ͷ࡞Γํ ʲ$5' ೖ໳ʳ34" ҉߸Λ࣮૷  ղಡ͢Δ ʲ$SZQUPʳ 01 0 10110101010100101010101

    010000 0101010101011100101011010101010101010101101111001010101011000000101 ؆қతͳઆ໌͸͜ͷಈըͰ΋ߦ͍ͬͯΔͷͰ ڵຯ͕͋Ε͹ݟͯΈͯͶˣ
  2. ٙ໰ େ͖ͳ਺ͷૉ਺൑ఆ ϛϥʔϥϏϯͷૉ਺൑ఆ๏ 01 0 10110101010100101010101 010000 0101010101011100101011010101010101010101101111001010101011000000101 ح਺ O

    ͕ૉ਺͔Ͳ͏͔൑ఆ͍ͨ͠ͱ͖  ͷ֬཰Ͱ΢ιΛͭ͘ Կճ΋  ͰׂͬͯɺׂΓ੾Βͳ͘ͳΔλΠϛϯάΛௐ΂Δɻ ϥϯμϜʹ B Λબͼɺ ҎԼͷ͕ࣜ੒ཱͨ͠Βɺૉ਺Ͱ͸ͳ͍ɻ 
  3. ϛϥʔϥϏϯͷૉ਺൑ఆ๏ͷࣜͷφκ   PS   PS  PS 

    PS  PS  PS  PS   PS   PS  PS  PS  PS  PS  PS
  4. ͭ·Γ O ͕ૉ਺Ͱ͋Ε͹ʜ 01 0 10110101010100101010101 010000 0101010101011100101011010101010101010101101111001010101011000000101  

    PS   PS  PS  PS  PS  PS  PS   PS   PS  PS  PS  PS  PS  PS ͳͷͰɺΦΠϥʔͷখఆཧ Ұ൪ࠨ͕  ͕੒ཱ͢ΔͨΊʹ͸ɺ Ͳ͔͜Ͱ  ʹͳΔ͔͋Δ͍͸ʜ ࣍ϖʔδ
  5. ͭ·Γ O ͕ૉ਺Ͱ͋Ε͹ʜ 01 0 10110101010100101010101 010000 0101010101011100101011010101010101010101101111001010101011000000101  

    PS   PS  PS  PS  PS  PS  PS   PS   PS  PS  PS  PS  PS  PS ͸͡Ί͔Β  Ͱ͋Δඞཁ͕͋Δɻ
  6. Q ๏ɺQ  ๏ʢলུʣ 01 0 10110101010100101010101 010000 0101010101011100101011010101010101010101101111001010101011000000101 ࣮͸ૉ਺

    Q ͕͋ͬͯ QɺQ  ͕খ͞ͳૉҼ਺Ͱߏ੒͞Ε͍ͯΔ৔߹ Q ๏ɺQ  ๏ͱ͍͏߈ܸ͕༗ޮɻ QBQFS ಺Ͱ͸ɺ 1SJNFXJUI$POEJUJPOT ͱݺ͹Ε͍ͯΔɻ େ͖ͳૉ਺Λੜ੒͠ɺ தࠃ৒༨ఆཧͳͲΛར༻͠ ͦͷૉ਺ΛؚΉ Q  Λ࡞Δ