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

Comments

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

A new C++ back end for ocamlc

https://github.com/ocaml/ocaml/pull/14701
70•glittershark•1h ago•3 comments

NASA’s Artemis II Crew Launches to the Moon

https://www.nasa.gov/blogs/missions/2026/04/01/live-artemis-ii-launch-day-updates/
598•apitman•8h ago•542 comments

DRAM pricing is killing the hobbyist SBC market

https://www.jeffgeerling.com/blog/2026/dram-pricing-is-killing-the-hobbyist-sbc-market/
281•ingve•3h ago•209 comments

EmDash – A spiritual successor to WordPress that solves plugin security

https://blog.cloudflare.com/emdash-wordpress/
459•elithrar•9h ago•329 comments

Fast and Gorgeous Erosion Filter

https://blog.runevision.com/2026/03/fast-and-gorgeous-erosion-filter.html
54•runevision•1d ago•7 comments

Show HN: Git bayesect – Bayesian Git bisection for non-deterministic bugs

https://github.com/hauntsaninja/git_bayesect
198•hauntsaninja•4d ago•26 comments

AI for American-produced cement and concrete

https://engineering.fb.com/2026/03/30/data-center-engineering/ai-for-american-produced-cement-and...
144•latchkey•8h ago•107 comments

Signing data structures the wrong way

https://blog.foks.pub/posts/domain-separation-in-idl/
69•malgorithms•5h ago•40 comments

IPv6 address, as a sentence you can remember

https://sentence2ipv6.tib3rius.com/
21•LorenDB•2h ago•14 comments

Set the Line Before It's Crossed

https://nomagicpill.substack.com/p/set-the-line-before-its-crossed
22•surprisetalk•2d ago•5 comments

Ask HN: Who is hiring? (April 2026)

196•whoishiring•10h ago•159 comments

The revenge of the data scientist

https://hamel.dev/blog/posts/revenge/
87•hamelsmu•4d ago•16 comments

Show HN: Dull – Instagram Without Reels, YouTube Without Shorts (iOS)

https://getdull.app
36•kasparnoor•4h ago•22 comments

Obfuscation is not security – AI can deobfuscate any minified JavaScript code

https://www.afterpack.dev/blog/claude-code-source-leak
29•rvz•2h ago•24 comments

InspectMind AI (YC W24) Is Hiring

https://www.ycombinator.com/companies/inspectmind-ai/jobs/jQNra64-software-engineer-build-the-wor...
1•aakashprasad91•4h ago

Ariane 6 user's manual [pdf]

https://www.ariane.group/app/uploads/sites/4/2024/10/Mua-6_Issue-2_Revision-0_March-2021.pdf
32•matthieu_bl•4d ago•4 comments

SpaceX files to go public

https://www.nytimes.com/2026/04/01/technology/spacex-ipo-elon-musk.html
187•nutjob2•7h ago•243 comments

StepFun 3.5 Flash is #1 cost-effective model for OpenClaw tasks (300 battles)

https://app.uniclaw.ai/arena?tab=costEffectiveness&via=hn
139•skysniper•9h ago•60 comments

ZomboCom stolen by a hacker, sold, now replaced with AI-generated makeover

https://old.reddit.com/r/oldinternet/comments/1raiz8v/zombocom_was_stolen_by_hacker_put_up_for_sa...
32•bananaboy•1h ago•13 comments

Show HN: Flight-Viz – 10K flights on a 3D globe in 3.5MB of Rust+WASM

https://flight-viz.com
57•coolwulf•7h ago•33 comments

Scientists crack a 20-year nuclear mystery behind the creation of gold

https://www.sciencedaily.com/releases/2026/03/260313002633.htm
48•prabal97•6h ago•17 comments

Jax's true calling: Ray-Marching renderers on WebGL

https://benoit.paris/posts/jax-ray-marcher/
53•BenoitP•5h ago•8 comments

Swappa.com for GrapheneOS compatible devices – Stay Away

https://discuss.grapheneos.org/d/33727-swappacom-for-grapheneos-compatible-devices-stay-away
86•OsrsNeedsf2P•3h ago•55 comments

SolveSpace (open source 2D/3D CAD) working on Windows 2000 (2025)

https://github.com/solvespace/solvespace/issues/1036
9•ruevs•2h ago•0 comments

The Windows equivalents of the most used Linux commands

http://techkettle.blogspot.com/2026/04/the-windows-equivalents-of-most-used.html
10•elsadek•3h ago•2 comments

How-to guide: Commissioning a Sensor Physics R&D Lab

https://gist.github.com/nup002/912383615b12dc1ec44ae9004c40b11f
30•MagneLauritzen•2d ago•4 comments

Montana referendum to outlaw corporate campaign contributions [video]

https://www.youtube.com/watch?v=p1fPbGHe3xE
21•le-mark•1h ago•1 comments

Windows 95 defenses against installers that overwrite a file with an older one

https://devblogs.microsoft.com/oldnewthing/20260324-00/?p=112159
112•michelangelo•3d ago•57 comments

Show HN: Zerobox – Sandbox any command with file, network, credential controls

https://github.com/afshinm/zerobox
104•afshinmeh•2d ago•82 comments

Ask HN: Who wants to be hired? (April 2026)

54•whoishiring•10h ago•134 comments