← All projects
Project record1 mention
Originally shared on Hacker News

Finding Really Big Palindromes (decimal-binary palindrome search)

A computational search for numbers that are palindromes in both decimal and binary representations. The search fixes the least and most significant decimal digits incrementally and prunes unfeasible subtrees using a new lookup table approach: a table of size 5^n records how many middle bits are needed to achieve a given remainder mod 5^n, allowing branches to be pruned when the required bits exceed the unknown bits. The project also includes engineering optimizations such as more efficient tables and CUDA porting.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Finding Really Big Palindromes (decimal-binary palindrome search)

    A computational search for numbers that are palindromes in both decimal and binary representations. The search fixes the least and most significant decimal digits incrementally and prunes unfeasible subtrees using a new lookup table approach: a table of size 5^n records how many middle bits are needed to achieve a given remainder mod 5^n, allowing branches to be pruned when the required bits exceed the unknown bits. The project also includes engineering optimizations such as more efficient tables and CUDA porting.

    Posted by @ashdnazg · Original source ↗

    Source text · @ashdnazg · · Source ↗

    I'm back to searching for numbers that are palindromes both in decimal and in binary. [0]