RSSAmplifier

Blog · Oct 3, 2023

Improving on Percy Ludgate's "Irish logarithm"

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

A quick follow-up to yesterday’s post on the “Irish logarithm” of Percy Ludgate. To recap, the idea is to pick four numbers $f(2)$, $f(3)$, $f(5)$, $f(7)$, and then for all products of nonzero one-digit numbers, define the values of $f$ with $f(ab) = f(a) + f(b)$. For example, this rule defines $f(6)$ as $2f(3)$, and $f(28)$ as $2f(2) + f(7)$. We can write the following Python…

Read on /post/optimizing-irish-logarithm/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.