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

Comments

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

Ti-84 Evo

https://education.ti.com/en/products/calculators/graphing-calculators/ti-84-evo
334•thatxliner•7h ago•314 comments

Good developers learn to program. Most courses teach a language

https://evilgeniuslabs.ca/blog/good-developers-learn-to-program-not-a-language
47•andsoitis•2h ago•29 comments

Artemis II Photo Timeline

https://artemistimeline.com/#artemis-ii-walkout-nhq202604010003
87•geerlingguy•2d ago•7 comments

Job Postings for Software Engineers Are Rapidly Rising

https://www.citadelsecurities.com/news-and-insights/2026-global-intelligence-crisis/
23•delichon•1h ago•2 comments

New research suggests people can communicate and practice skills while dreaming

https://www.newyorker.com/culture/annals-of-inquiry/its-possible-to-learn-in-our-sleep-should-we
263•XzetaU8•9h ago•142 comments

The smelly baby problem

https://www.worksinprogress.news/p/how-disposable-diapers-conquered
123•dionysou•2d ago•67 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

128•proberts•12h ago•190 comments

A Report on Burnout in Open Source Software Communities (2025) [pdf]

https://mirandaheath.website/static/oss_burnout_report_mh_25.pdf
35•susam•3h ago•8 comments

Lib0xc: A set of C standard library-adjacent APIs for safer systems programming

https://github.com/microsoft/lib0xc
86•wooster•7h ago•28 comments

Ask HN: Who is hiring? (May 2026)

234•whoishiring•12h ago•258 comments

Direct electrochemical black coffee quality appraisal using cyclic voltammetry

https://www.nature.com/articles/s41467-026-71526-5
19•bookofjoe•2d ago•3 comments

Eka’s robotic claw feels like we're approaching a ChatGPT moment

https://www.wired.com/story/when-robots-have-their-chatgpt-moment-remember-these-pincers/
101•zdw•2d ago•129 comments

To Restore an Island Paradise, Add Fungi

https://e360.yale.edu/digest/atoll-islands-sea-level-rise-fungi
7•Brajeshwar•2d ago•0 comments

Whohas – Command-line utility for cross-distro, cross-repository package search

https://github.com/whohas/whohas
130•peter_d_sherman•12h ago•30 comments

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
436•sleepingNomad•18h ago•132 comments

Whimsical Animations Course Open House

https://courses.joshwcomeau.com/wham/open-house/00-introduction
76•SpyCoder77•7h ago•9 comments

Sourcefeed – a pop-up RSS service

https://www.sourcefeed.app/
3•bjhess•3d ago•0 comments

SpaceX rocket set for unintentional moon landing – well, a piece of it anyway

https://www.theregister.com/2026/05/01/spacex_debris_landing/
55•beardyw•15h ago•39 comments

City Learns Flock Accessed Cameras in Children's Gymnastics Room as a Sales Demo

https://www.404media.co/city-learns-flock-accessed-cameras-in-childrens-gymnastics-room-as-a-sale...
326•joshcsimmons•8h ago•94 comments

Show HN: AI CAD Harness

https://fusion.adam.new/install
70•zachdive•9h ago•69 comments

The gay jailbreak technique

https://github.com/Exocija/ZetaLib/blob/main/The%20Gay%20Jailbreak/The%20Gay%20Jailbreak.md
409•bobsmooth•10h ago•157 comments

Apocalypse Early Warning System

https://ews.kylemcdonald.net/
126•carlsborg•10h ago•73 comments

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

121•whoishiring•12h ago•252 comments

Understand Anything

https://github.com/Lum1104/Understand-Anything
110•taubek•9h ago•31 comments

Credit cards are vulnerable to brute force kind attacks

https://metin.nextc.org/posts/Credit_Cards_Are_Vulnerable_To_Brute_Force_Kind_Attacks.html
193•kodbraker•6h ago•161 comments

Tvheadend: Self-Hosted IPTV Server

https://tvheadend.org
11•hyperific•2d ago•5 comments

AI uses less water than the public thinks

https://californiawaterblog.com/2026/04/26/ai-water-use-distractions-and-lessons-for-california/
351•hirpslop•9h ago•311 comments

Spotify adds 'Verified' badges to distinguish human artists from AI

https://www.bbc.com/news/articles/c5yerr4m1yno
215•reconnecting•10h ago•241 comments

Artemis II fault tolerance

https://alearningaday.blog/2026/05/01/artemis-ii-fault-tolerance/
66•speckx•9h ago•33 comments

Running Adobe's 1991 PostScript Interpreter in the Browser

https://www.pagetable.com/?p=1854
127•ingve•15h ago•29 comments