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.

Cybersecurity looks like proof of work now

https://www.dbreunig.com/2026/04/14/cybersecurity-is-proof-of-work-now.html
269•dbreunig•1d ago•101 comments

Arguing with Agents

https://blowmage.com/2026/04/14/arguing-with-agents/
16•asaaki•36m ago•1 comments

Amazon AI Cancelling Webcomics

http://www.kleefeldoncomics.com/2026/04/amazon-ai-cancelling-webcomics.html
20•vmbrasseur•1h ago•0 comments

I made a terminal pager

https://theleo.zone/posts/pager/
68•speckx•4h ago•17 comments

Google broke its promise to me – now ICE has my data

https://www.eff.org/deeplinks/2026/04/google-broke-its-promise-me-now-ice-has-my-data
1152•Brajeshwar•9h ago•507 comments

Cal.com is going closed source

https://cal.com/blog/cal-com-goes-closed-source-why
225•Benjamin_Dobell•11h ago•166 comments

God sleeps in the minerals

https://wchambliss.wordpress.com/2026/03/03/god-sleeps-in-the-minerals/
468•speckx•13h ago•98 comments

Introduction to Spherical Harmonics for Graphics Programmers

https://gpfault.net/posts/sph.html
16•luu•2d ago•1 comments

Ohio prison inmates 'built computers and hid them in ceiling (2017)

https://www.bbc.com/news/technology-39576394
74•harambae•4h ago•54 comments

PiCore - Raspberry Pi Port of Tiny Core Linux

http://tinycorelinux.net/5.x/armv6/releases/README
85•gregsadetsky•7h ago•10 comments

Retrofitting JIT Compilers into C Interpreters

https://tratt.net/laurie/blog/2026/retrofitting_jit_compilers_into_c_interpreters.html
44•ltratt•14h ago•10 comments

Live Nation illegally monopolized ticketing market, jury finds

https://www.bloomberg.com/news/articles/2026-04-15/live-nation-illegally-monopolized-ticketing-ma...
415•Alex_Bond•7h ago•122 comments

YouTube now lets you turn off Shorts

https://www.theverge.com/streaming/912898/youtube-shorts-feed-limit-zero-minutes
196•pentagrama•3h ago•82 comments

A Better Ludum Dare; Or, How to Ruin a Legacy

https://ldjam.com/events/ludum-dare/59/$425291/$425292
7•raincole•1h ago•0 comments

Hacker News CLI (2014)

https://pythonhosted.org/hackernews-cli/commands.html
39•rolph•5h ago•15 comments

PBS Nova: Terror in Space (1998)

https://www.pbs.org/wgbh/nova/mir/
26•opengrass•4d ago•8 comments

Anna's Archive loses $322M Spotify piracy case without a fight

https://torrentfreak.com/annas-archive-loses-322-million-spotify-piracy-case-without-a-fight/
347•askl•18h ago•372 comments

The Gemini app is now on Mac

https://blog.google/innovation-and-ai/products/gemini-app/gemini-app-now-on-mac-os/
94•thm•9h ago•47 comments

The Universal Constraint Engine: Neuromorphic Computing Without Neural Networks

https://zenodo.org/records/19600206
11•skinney_uce•3h ago•3 comments

Keycard – inject API keys into subprocesses, never touch shell env

https://www.keycard.studio/
10•jijane•1h ago•5 comments

Ask HN: Who is using OpenClaw?

229•misterchocolat•7h ago•267 comments

A Mercury Rover Could Explore the Planet by Sticking to the Terminator

https://www.universetoday.com/articles/a-mercury-rover-could-explore-the-planet-by-sticking-to-th...
7•bookofjoe•5d ago•2 comments

CRISPR takes important step toward silencing Down syndrome’s extra chromosome

https://medicalxpress.com/news/2026-04-crispr-bold-silencing-syndrome-extra.html
89•amichail•10h ago•54 comments

Adaptional (YC S25) is hiring AI engineers

https://www.ycombinator.com/companies/adaptional/jobs/k7W6ge9-founding-engineer
1•acesohc•9h ago

Fixing a monitor that goes black, off or blinks due to static electricity (2023)

https://aalonso.dev/blog/2023/how-to-fix-monitor-that-goes-black-off-due-to-static-electricity-in...
118•cyclopeanutopia•3d ago•67 comments

How can I keep from singing?

https://blog.danieljanus.pl/singing/
52•nathell•1d ago•15 comments

Do you even need a database?

https://www.dbpro.app/blog/do-you-even-need-a-database
211•upmostly•14h ago•248 comments

Forcing an inversion of control on the SaaS stack

https://www.100x.bot/a/client-side-injection-inversion-of-control-saas
78•shardullavekar•5d ago•44 comments

The buns in McDonald's Japan's burger photos are all slightly askew

https://www.mcdonalds.co.jp/en/menu/burger/
235•bckygldstn•5h ago•137 comments

Does Gas Town 'steal' usage from users' LLM credits to improve itself?

https://github.com/gastownhall/gastown/issues/3649
218•rektomatic•5h ago•109 comments