<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sumim</author_name>
  <author_url>https://blog.hatena.ne.jp/sumim/</author_url>
  <blog_title>Smalltalkのtは小文字です</blog_title>
  <blog_url>https://sumim.hatenablog.com/</blog_url>
  <categories>
    <anon>Squeak</anon>
    <anon>Smalltalk</anon>
  </categories>
  <description>なんてものも書いてみました。 Integer &gt;&gt; balancedTritsArray | ternary zeroValue numDigits | self isZero ifTrue: [^ Array with: 0]. self radix: 3) allButFirst: 2. ^ (ternary as: Array) collect: [: digitChar | digitChar digitValue - 1] 14 balancedTritsArray &quot;=&gt; #(1 -1 -1 -1) &quot; これを使うと、くだんのクイズを解く際に役立つ、各コインに割り振る番号の正負、対…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsumim.hatenablog.com%2Fentry%2F20041221%2Fp2&quot; title=&quot; 任意の整数について、平衡三進記法の各桁の trit を収めた配列を返すメソッド - Smalltalkのtは小文字です&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>2004-12-21 00:00:01</published>
  <title> 任意の整数について、平衡三進記法の各桁の trit を収めた配列を返すメソッド</title>
  <type>rich</type>
  <url>https://sumim.hatenablog.com/entry/20041221/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
