Topic

Math

Everything filed under Math, newest first.

Showing 1–5 of 5 articles

  • The Sharpe ratio from first principles

    Shivanshu Agrawal derives the Sharpe ratio from first principles as a way to rank algorithmic trading strategies objectively, and explains where the measure breaks down, with references to Sharpe, Kelly, and Markowitz.

    Tutorial · finance · math · trading

    12 min · 2,759 words

  • Semicircle packing

    Rory McMeekin follows the money behind the GPU World short story competition to Paradigm, then gets nerd-sniped by a semicircle-packing puzzle on Paradigm's Puzzles page and works through his attempts to pack semicircles efficiently.

    Essay · math · puzzles · geometry

    9 min · 2,086 words

  • Small-Grid Wraparound Cellular Automata

    Justis Mills revisits a math problem he has chased for 17 years: in a tiny cellular automaton grid that wraps around both ways, what is the longest obtainable sequence of unique patterns, from hand exploration up to computed answers for 6x6.

    Essay · math · programming

    13 min · 3,015 words

  • Adding Floating-Point Decimals for Fun and Profit

    A deep dive into representing and adding decimal numbers with binary floating point: rounding pitfalls, exact decimals that fit in floats, and practical tricks for money-like sums.

    Tutorial · Programming · Math · Python

    10 min · 2,227 words

  • Making any integer with four 2s

    Eli Bendersky revisits the classic puzzle of building any natural number from exactly four 2s, from schoolroom arithmetic to factorials and the Gamma function, and walks through Paul Dirac's general solution using nested square roots and base-2 logarithms.

    Blog post · math · puzzles

    2 min · 380 words