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•9mo ago

Comments

throwawaymaths•9mo 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•9mo ago
i dont think smaller radixes make the problem more interesting. the problem is interesting because base 10 has a large branching factor
throwawaymaths•9mo 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•9mo ago
There's a Project Euler problem for finding truncatable prime numbers, from both left and right: https://projecteuler.net/problem=37
thechao•9mo 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.

LLM=True

https://blog.codemine.be/posts/2026/20260222-be-quiet/
83•avh3•2h ago•58 comments

Show HN: A real-time strategy game that AI agents can play

https://llmskirmish.com/
39•__cayenne__•1h ago•9 comments

Danish government agency to ditch Microsoft software (2025)

https://therecord.media/denmark-digital-agency-microsoft-digital-independence
41•robtherobber•57m ago•6 comments

I'm helping my dog vibe code games

https://www.calebleak.com/posts/dog-game/
936•cleak•17h ago•292 comments

Vinext – The Next.js API surface, reimplemented on Vite

https://github.com/cloudflare/vinext
12•billwashere•39m ago•2 comments

Turing Completeness of GNU find

https://arxiv.org/abs/2602.20762
58•todsacerdoti•5h ago•10 comments

Pi – A minimal terminal coding harness

https://pi.dev
396•kristianpaul•13h ago•176 comments

Show HN: Moonshine Open-Weights STT models – higher accuracy than WhisperLargev3

https://github.com/moonshine-ai/moonshine
253•petewarden•13h ago•59 comments

Mercury 2: Fast reasoning LLM powered by diffusion

https://www.inceptionlabs.ai/blog/introducing-mercury-2
240•fittingopposite•12h ago•102 comments

Japanese Death Poems

https://www.secretorum.life/p/japanese-death-poems-part-3
46•NaOH•2d ago•13 comments

Cl-kawa: Scheme on Java on Common Lisp

https://github.com/atgreen/cl-kawa
41•varjag•2d ago•9 comments

Show HN: Quantifying opportunity cost with a deliberately "simple" web app

https://shouldhavebought.com/
21•b0bbi•19h ago•29 comments

Mac mini will be made at a new facility in Houston

https://www.apple.com/newsroom/2026/02/apple-accelerates-us-manufacturing-with-mac-mini-production/
526•haunter•14h ago•516 comments

Hacking an old Kindle to display bus arrival times

https://www.mariannefeng.com/portfolio/kindle/
272•mengchengfeng•15h ago•72 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
162•onecommit•17h ago•60 comments

I pitched a roller coaster to Disneyland at age 10 in 1978

https://wordglyph.xyz/one-piece-at-a-time
469•wordglyph•22h ago•168 comments

Nearby Glasses

https://github.com/yjeanrenaud/yj_nearbyglasses
346•zingerlio•17h ago•142 comments

Claude Code Remote Control

https://code.claude.com/docs/en/remote-control
19•empressplay•3h ago•4 comments

Steel Bank Common Lisp

https://www.sbcl.org/
222•tosh•16h ago•87 comments

Amazon accused of widespread scheme to inflate prices across the economy

https://www.thebignewsletter.com/p/amazon-busted-for-widespread-price
458•toomuchtodo•10h ago•150 comments

Running RISC-V in a VM to test my snaps

https://blog.popey.com/2026/02/running-risc-v-in-a-vm-to-test-my-snaps/
3•jandeboevrie•2d ago•0 comments

Half million 'Words with Spaces' missing from dictionaries

https://www.linguabase.org/words-with-spaces.html
68•gligierko•1d ago•112 comments

Cell Service for the Fairly Paranoid

https://www.cape.co/
102•0xWTF•12h ago•105 comments

Corgi Labs (YC W23) Is Hiring

https://www.ycombinator.com/companies/corgi-labs/jobs/ZiEIf7a-founders-associate
1•leastsquares•10h ago

Anthropic Drops Flagship Safety Pledge

https://time.com/7380854/exclusive-anthropic-drops-flagship-safety-pledge/
346•cwwc•10h ago•150 comments

Hugging Face Skills

https://github.com/huggingface/skills
174•armcat•17h ago•48 comments

Show HN: Scheme-langserver – Digest incomplete code with static analysis

https://github.com/ufo5260987423/scheme-langserver
5•ufo5260987423•1d ago•0 comments

Meta problem with URPF our bundle in Boca raton

https://metafixthis.com/
28•synthesis5x•1d ago•1 comments

We installed a single turnstile to feel secure

https://idiallo.com/blog/installed-single-turnstile-for-security-theater
343•firefoxd•2d ago•170 comments

Aesthetics of single threading

https://ta.fo/aesthetics-of-single-threading/
89•todsacerdoti•3d ago•22 comments