frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•6mo ago

Comments

throwawaymaths•6mo ago
Curious about base 2. Obviously if you hit a 0 it's immediately not prime, but maybe adjust the rules so:

- you drill through as many 0's on the right.

- you finish on 1.

3, 5, 7, 11, 13, 15, 17 are all right truncatable, 19 is the first non-truncatable prime in this scheme.

nh23423fefe•6mo ago
i dont think smaller radixes make the problem more interesting. the problem is interesting because base 10 has a large branching factor
throwawaymaths•6mo ago
I think in the base2 reformulation I propose we do not know for certain if the list of numbers terminates, as all Fermat primes are in the set and we don't know if there are infinitely many Fermat primes.

For base-10 and the original rules the set is provably closed.

"Drilling through zeros" makes the branching unbounded.

jinwoo68•6mo ago
There's a Project Euler problem for finding truncatable prime numbers, from both left and right: https://projecteuler.net/problem=37
thechao•6mo ago
Just in case any else is wondering: there are only 83 right-truncatable primes (RTP) and that is it. There's two constraints that let you see this "immediately":

1. An RTP must start with {2,3,5,7,9}; and,

2. An RTP must end with {1,3,7,9}.

So, let's take the largest RTP (73939133) and try to "extend" it: there are only four possible extensions: 73939133[1], 73939133[3], 73939133[7], 73939133[9]. None of these are prime. This holds for the other 8-digit RTPs. Therefore, there is no extension to a 9-or-longer RTP. Thus, the list is exhaustive.

Kroger acknowledges that its bet on robotics went too far

https://www.grocerydive.com/news/kroger-ocado-close-automated-fulfillment-centers-robotics-grocer...
39•JumpCrisscross•41m ago•23 comments

Jepsen: NATS 2.12.1

https://jepsen.io/analyses/nats-2.12.1
251•aphyr•5h ago•91 comments

Icons in Menus Everywhere – Send Help

https://blog.jim-nielsen.com/2025/icons-in-menus/
152•ArmageddonIt•4h ago•56 comments

Strong earthquake hits northern Japan, tsunami warning issued

https://www3.nhk.or.jp/nhkworld/en/news/20251209_02/
255•lattis•9h ago•126 comments

AMD GPU Debugger

https://thegeeko.me/blog/amd-gpu-debugging/
204•ibobev•8h ago•31 comments

Let's put Tailscale on a jailbroken Kindle

https://tailscale.com/blog/tailscale-jailbroken-kindle
219•Quizzical4230•8h ago•53 comments

Amp, Inc. – Amp is spinning out of Sourcegraph

https://ampcode.com/news/amp-inc
64•pdubroy•6d ago•25 comments

Hunting for North Korean Fiber Optic Cables

https://nkinternet.com/2025/12/08/hunting-for-north-korean-fiber-optic-cables/
202•Bezod•7h ago•39 comments

Has the cost of building software dropped 90%?

https://martinalderson.com/posts/has-the-cost-of-software-just-dropped-90-percent/
138•martinald•5h ago•267 comments

Show HN: Fanfa – Interactive and animated Mermaid diagrams

https://fanfa.dev/
46•bairess•4d ago•11 comments

IBM to acquire Confluent

https://www.confluent.io/blog/ibm-to-acquire-confluent/
327•abd12•10h ago•262 comments

Trials avoid high risk patients and underestimate drug harms

https://www.nber.org/papers/w34534
52•bikenaga•5h ago•20 comments

Microsoft increases Office 365 and Microsoft 365 license prices

https://office365itpros.com/2025/12/08/microsoft-365-pricing-increase/
226•taubek•10h ago•268 comments

Microsoft Download Center Archive

https://legacyupdate.net/download-center/
109•luu•3d ago•14 comments

A series of tricks and techniques I learned doing tiny GLSL demos

https://blog.pkh.me/p/48-a-series-of-tricks-and-techniques-i-learned-doing-tiny-glsl-demos.html
129•ibobev•7h ago•14 comments

Launch HN: Nia (YC S25) – Give better context to coding agents

https://www.trynia.ai/
83•jellyotsiro•7h ago•65 comments

AI should only run as fast as we can catch up

https://higashi.blog/2025/12/07/ai-verification/
97•yuedongze•6h ago•105 comments

Paramount launches hostile bid for Warner Bros

https://www.cnbc.com/2025/12/08/paramount-skydance-hostile-bid-wbd-netflix.html
217•gniting•10h ago•194 comments

Deep dive on Nvidia circular funding

https://philippeoger.com/pages/deep-dive-into-nvidias-virtuous-cycle
256•jeanloolz•5h ago•142 comments

Delivery robots take over Chicago sidewalks

https://blockclubchicago.org/2025/12/08/delivery-robots-take-over-chicago-sidewalks-sparking-deba...
61•mikhael•3h ago•94 comments

Legion Health (YC S21) is hiring a founding engineer (SF, in-person)

1•the_danny_g•7h ago

Running on Empty: Copper

https://thehonestsorcerer.substack.com/p/running-on-empty-copper
24•the-needful•2h ago•27 comments

We collected 10k hours of neuro-language data in our basement

https://condu.it/thought/10k-hours
80•nee1r•7h ago•53 comments

Nova Programming Language

https://nova-lang.net
79•surprisetalk•9h ago•44 comments

Flow: Actor-based language for C++, used by FoundationDB

https://github.com/apple/foundationdb/tree/main/flow
162•SchwKatze•11h ago•41 comments

Word spacing

https://en.wikipedia.org/wiki/Word_spacing
39•doener•3d ago•32 comments

No more O'Reilly subscriptions for me

https://zerokspot.com/weblog/2025/12/05/no-more-oreilly-subscriptions-for-me/
100•speckx•8h ago•97 comments

Show HN: DuckDB for Kafka Stream Processing

https://sql-flow.com/docs/tutorials/intro/
59•dm03514•7h ago•12 comments

The consumption of AI-generated content at scale

https://www.sh-reya.com/blog/consumption-ai-scale/
19•ivansavz•1w ago•21 comments

GitHub Actions has a package manager, and it might be the worst

https://nesbitt.io/2025/12/06/github-actions-package-manager.html
372•robin_reala•16h ago•224 comments