frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Visualizing asymmetry in the 196 Lychrel chain (50k steps, 20k digits)

1•jivaprime•18m ago
I’ve been experimenting with the classic 196 Lychrel problem, but instead of trying to push the iteration record, I wanted to look at the structure of the 196 sequence over time.

Very briefly: starting from 196 in base 10, we repeatedly do reverse-and-add. No palindrome is known, despite huge computational searches, so 196 is treated as a Lychrel candidate, but there is no proof either way.

Rather than just asking “does it ever hit a palindrome?”, I asked:

> What does the *digit asymmetry* of the 196 sequence look like as we iterate?

---

### SDI: a simple asymmetry metric

I defined a toy metric, *SDI (Symmetry Defect Index)*:

* Write `n` in decimal, length `L`, let `pairs = L // 2`.

* Compare the left `pairs` digits with the right `pairs` digits reversed, so each pair of digits “faces” its mirror.

* For each pair `(dL, dR)`:

  ```text
  pair_score =
    abs((dL % 2) - (dR % 2)) +
    abs((dL % 5) - (dR % 5))
  ```
* Sum over all pairs to get `SDI`, then normalize:

  ```text
  normalized_SDI = SDI / pairs
  ```
Heuristic: lower means “more symmetric / structured”, higher means “more asymmetric / closer to random”. For random decimal digits, normalized SDI clusters around ~2.1 in my tests. I also mark ~1.6 as a “zombie line”: well below that looks very frozen/structured.

---

### Experiment

* Start: 196 * Operation: base-10 reverse-and-add * Steps: 50,000 * SDI sampled every 100 steps * Implementation: Python big ints + string-based SDI

By 50k steps, the 196 chain reaches about 20,000 decimal digits (~10^20000). I plotted normalized SDI vs step, plus a linear trend line and reference lines at 2.1 (random-ish) and 1.6 (zombie line).

I also ran the same SDI on 89 (which does reach a palindrome) for comparison.

---

### What it looks like

*For 196 (0–50k steps):*

* Normalized SDI lives mostly between ~1.1 and 2.2. * It does *not* drift toward 0 (no sign of “healing” into symmetry). * The trend line has a tiny positive slope (almost flat). * The cloud stays below the ~2.1 “random” line but mostly above the ~1.6 “zombie line”.

So 196 doesn’t look like it’s converging to a very symmetric state, and it doesn’t look fully random either. It seems stuck in a mid-level “zombie band” of asymmetry.

*For 89:*

* SDI starts around 2–3, then drifts downward. * When 89 finally reaches a palindrome, SDI collapses sharply to 0 at that step. * This matches the intuition: a “healing” sequence that ends in perfect symmetry.

SDI cleanly separates the behaviour of 89 (heals to a palindrome) from 196 (stays in a noisy mid-level band).

---

### Code and plots

Code and plots are here (including the SDI implementation and 196 vs 89 graphs):

* GitHub: [https://github.com/jivaprime/192](https://github.com/jivaprime/192)

---

### Looking for feedback

I’m curious about:

* Similar work: have you seen digit-symmetry / asymmetry metrics applied to Lychrel candidates before? * Better metrics: any more standard notions of “symmetry defect” or digit entropy you’d recommend? * Scaling: ideas for a C/Rust implementation that occasionally samples SDI far beyond this (e.g., at depths comparable to the classic 196 palindrome quests)?

Happy to tweak the metric, run other starting values / bases, or collect more data if people have ideas.

RuBee

https://computer.rip/2025-11-22-RuBee.html
2•Sniffnoy•2m ago•0 comments

Japan's gamble to turn island of Hokkaido into global chip hub

https://www.bbc.com/news/articles/c8676qpxgnqo
1•1659447091•3m ago•0 comments

The Cloudflare outage was a good thing

https://gist.github.com/jbreckmckye/32587f2907e473dd06d68b0362fb0048
1•radeeyate•6m ago•0 comments

KeePassXC 2.7.11 Released

https://keepassxc.org/blog/2025-11-23-2.7.11-released/
1•theodorejb•7m ago•0 comments

A free tool that stuns LLMs with thousands of invisible Unicode characters

https://gibberifier.com
2•wdpatti•10m ago•1 comments

McMaster Carr – The Smartest Website You Haven't Heard Of

https://www.bedelstein.com/post/mcmaster-carr
1•jcartw•13m ago•0 comments

Style Reference vs. Image Prompts: What's the Difference?

https://image2prompts.com/blog/style-reference-vs-image-prompts-what-the-difference
1•zack119•16m ago•0 comments

Visualizing asymmetry in the 196 Lychrel chain (50k steps, 20k digits)

1•jivaprime•18m ago•0 comments

Napster Said It Raised $3B from an Investor. Now 'Investor' and 'Money' Are Gone

https://www.forbes.com/sites/phoebeliu/2025/11/23/napster-said-raised-3-billion-mystery-investor-...
1•pseudolus•22m ago•0 comments

Ouya

https://en.wikipedia.org/wiki/Ouya
3•Ariarule•23m ago•2 comments

'The public has been lied to': made doc insists that aliens exist

https://www.theguardian.com/film/2025/nov/22/age-of-disclosure-documentary-aliens
1•handfuloflight•29m ago•0 comments

SecIron Is Recruiting for Technical Support in KL, Malaysia-Challenge Yourself

https://malaysia.indeed.com/job/mobile-app-securit-engineer-93c4f95524a00f8f
1•bboypy•30m ago•0 comments

Show HN: 3M km interferometer concept using Saturn moons

https://zenodo.org/records/17665935
1•kurtswendson•31m ago•0 comments

We stopped roadmap work for a week and fixed 189 bugs

https://lalitm.com/fixits-are-good-for-the-soul/
8•signa11•33m ago•1 comments

B-Trees: Why Every Database Uses Them

https://mehmetgoekce.substack.com/p/b-trees-why-every-database-uses-them
2•signa11•35m ago•0 comments

Valve makes almost $50M per employee

https://www.tomshardware.com/video-games/pc-gaming/valve-makes-almost-usd50-million-per-employee-...
2•xu_ituairo•36m ago•0 comments

US issues security NOTAM for Venezuelan airspace

https://www.flightradar24.com/blog/aviation-news/us-issues-security-notam-for-venezuelan-airspace/
4•8ig8•41m ago•0 comments

Show HN: I slowed down and visualized birdsong [video]

https://www.youtube.com/watch?v=mhHGuAUUCUE
2•andai•42m ago•0 comments

Ask HN: Hearing aid wearers, what's hot?

40•pugworthy•45m ago•0 comments

Anna's Archive 'WorldCat Scrape' Lawsuit Drops $5M Claim, Pivots to Takedown

https://torrentfreak.com/annas-archive-worldcat-scrape-lawsuit-drops-5m-claim-pivots-to-takedown-...
4•t-3•51m ago•2 comments

Passing the Torch – My Last Root DNSSEC KSK Ceremony as Crypto Officer 4

https://technotes.seastrom.com/2025/11/23/passing-the-torch.html
8•greyface-•54m ago•0 comments

Future War Will Be Fought with Sticks and Stones

https://smallwarsjournal.com/2025/11/20/future-war-will-be-fought-with-sticks-and-stones/
4•Gaishan•1h ago•1 comments

My Life Is a Lie: How a Broken Benchmark Broke America

https://www.yesigiveafig.com/p/part-1-my-life-is-a-lie
23•jger15•1h ago•10 comments

A Unified Theory of Ego, Empathy, and Humility at Work

https://matthogg.fyi/a-unified-theory-of-ego-empathy-and-humility-at-work/
2•mrmatthogg•1h ago•0 comments

LowType: Elegant Types in Ruby

https://github.com/low-rb/low_type
3•lowtype•1h ago•0 comments

Show HN: YipYap – I wanted something to tell me what to do with my Stripe KPIs

https://yipyap.fyi
1•zach_olson•1h ago•0 comments

Preserve? Conserve? AI will need reasons

1•sonicvrooooom•1h ago•1 comments

Practical Security in Production

https://queue.acm.org/detail.cfm?id=3773097
1•tkhattra•1h ago•0 comments

Mew Design – Natural language to editable UI/graphic design

https://mew.design
2•bkidyy•1h ago•1 comments

Pabst, Pamphlets and a Petition: A Harvard-Yale Tailgate in the Trump Era

https://www.nytimes.com/2025/11/23/us/politics/yale-harvard-football-trump.html
2•whack•1h ago•1 comments