<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>convto</author_name>
  <author_url>https://blog.hatena.ne.jp/convto/</author_url>
  <blog_title>ちりもつもればミルキーウェイ</blog_title>
  <blog_url>https://convto.hatenablog.com/</blog_url>
  <categories>
    <anon>アルゴリズム/データ構造</anon>
    <anon>数値演算</anon>
    <anon>数学</anon>
  </categories>
  <description>はじめに これは RSA完全理解 Advent Calendar 2021 の16日目の記事です。 前回は多倍長整数の四則演算をやりました。乗法は だったので、少し効率の良いアルゴリズムを紹介します karatsuba法 桁数nの整数 があったとします。 これらをそれぞれ ずつに分割して の上位の桁のほうを の下位の桁のほうを の上位の桁のほうを の下位の桁のほうを とします。 そうすると は と表せます。 このとき計算コストがたかい乗法が4回必要ですが、ここで について以下のように整理すると乗法の回数が3回で済みます。このときの操作自体は計算結果が となるような式を当てはめただけです。計算す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fconvto.hatenablog.com%2Fentry%2F2022%2F01%2F01%2F121236&quot; title=&quot;karatsuba法 - ちりもつもればミルキーウェイ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-01-01 12:12:36</published>
  <title>karatsuba法</title>
  <type>rich</type>
  <url>https://convto.hatenablog.com/entry/2022/01/01/121236</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
