<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/rss/styles.xsl" type="text/xsl"?><rss version="2.0"><channel><title>Isaac Fei — Notes</title><description>A learning log. Tagged as I go, not finished articles.</description><link>https://isaacfei.com</link><item><title>I thought four-peg Hanoi was easy</title><link>https://isaacfei.com/notes/strange-hanoi</link><guid isPermaLink="true">https://isaacfei.com/notes/strange-hanoi</guid><description>Three-peg Hanoi is 2 T_3(n-1)+1. Four pegs I thought was the same idea. I looked it up. One extra peg, decades to prove.</description><pubDate>Fri, 11 Sep 2026 00:00:00 GMT</pubDate></item><item><title>The first row kills it</title><link>https://isaacfei.com/notes/flip-switch</link><guid isPermaLink="true">https://isaacfei.com/notes/flip-switch</guid><description>The action space is finite: one press per cell. Sequences of actions look huge. Two properties cut the plans to 2^{MN}. Then the first row makes the rest forced: 2^N.</description><pubDate>Wed, 09 Sep 2026 00:00:00 GMT</pubDate></item><item><title>Peel the ones, then 2^k mod 37</title><link>https://isaacfei.com/notes/find-bit-positions</link><guid isPermaLink="true">https://isaacfei.com/notes/find-bit-positions</guid><description>lowbit walks every 1. A 37-slot table names the exponent, because 2^k is unique mod 37.</description><pubDate>Mon, 07 Sep 2026 00:00:00 GMT</pubDate></item><item><title>lowbit is n &amp; -n</title><link>https://isaacfei.com/notes/lowbit</link><guid isPermaLink="true">https://isaacfei.com/notes/lowbit</guid><description>Flip the bits, add one, AND: the lowest set bit is n &amp; -n.</description><pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate></item><item><title>I wanted that fun back</title><link>https://isaacfei.com/notes/starting-algorithms</link><guid isPermaLink="true">https://isaacfei.com/notes/starting-algorithms</guid><description>In junior high I refused the editorial and could not sleep, and it still was not painful. Then CLRS for exams, LeetCode for jobs. Now I have some math. I want that fun back.</description><pubDate>Fri, 04 Sep 2026 00:00:00 GMT</pubDate></item></channel></rss>