frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

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

Gemini Omni 1.2 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-omni-1-2-flash/
99•thisisauserid•1h ago•64 comments

Dutch 'idealist' bank ASN blocks non-Google Android, including GrapheneOS

https://github.com/PrivSec-dev/banking-apps-compat-report/issues/105
412•microtonal•5h ago•244 comments

Blender's UI and Runtime: Much Faster Than GPUI

https://github.com/ppmpreetham/BUI
431•ppmpreetham•7h ago•182 comments

Claude Code sends your email address to websites

https://github.com/anthropics/claude-code/issues/107757
1380•motoroco•16h ago•435 comments

Living beyond the limits of survival: wood ants trapped in a gigantic pitfall (2016)

https://jhr.pensoft.net/articles.php?id=9096
93•hitekker•4h ago•35 comments

sshole

https://sshhole.com
2831•josemrb•1d ago•689 comments

Kugelblitz – Mac-Native Google Earth Alternative

https://apps.metaebene.me/en/kugelblitz
167•luoc•7h ago•48 comments

Zero Hour: Telling time was a matter of survival and strategy during WWI (2014)

https://www.laphamsquarterly.org/roundtable/zero-hour
13•NaOH•20h ago•0 comments

MS Paint Remote Code Execution Vulnerability

https://www.cve.org/CVERecord?id=CVE-2026-83844
627•kuberwastaken•18h ago•240 comments

We've built an open-source feature flag server for 11 years

https://github.com/Unleash/unleash
71•ivarconr•3h ago•45 comments

From Linux to Wikipedia: How Volunteers Build the Internet

https://thereader.mitpress.mit.edu/from-linux-to-wikipedia-how-volunteers-build-the-internet/
192•jonbaer•10h ago•65 comments

Mbodi AI (YC P25) Is Hiring Research and Robotic Engineers

https://www.ycombinator.com/companies/mbodi-ai/jobs
1•chitianhao•3h ago

University libraries are being swarmed by AI bots, putting public access at risk

https://www.cbc.ca/news/world/university-libraries-ai-data-scraping-bots-9.7408287
23•blakesterz•56m ago•8 comments

Multiplayer tanks that demolish real buildings from OpenStreetMap

https://worldstrike.fun/
115•n4ze3m•7h ago•69 comments

Pwn.college

https://pwn.college/
232•tripdout•11h ago•37 comments

Hardcoded credentials and other issues in Tata Motors App

https://www.cert-in.org.in/s2cMainServlet?pageid=PUBVLNOTES01&VLCODE=CIVN-2026-0537
65•qtqtqt•7h ago•13 comments

The Hackintosh Reborn

https://www.naut.ca/blog/2026/11/05/the-hackintosh-reborn-with-ai/
365•rubatuga•20h ago•203 comments

Nvidia Kubernetes Engine (NVKE)

https://github.com/dsx-ai-factory/nvke
108•gkapur•11h ago•24 comments

Britain to make salary disclosure in job ads mandatory

https://www.reuters.com/business/world-at-work/britain-make-salary-disclosure-job-ads-mandatory-2...
417•1659447091•7h ago•338 comments

Chomsky and the Two Cultures of Statistical Learning

https://www.norvig.com/chomsky.html
37•andsoitis•6h ago•21 comments

Inkling 2 Small

https://thinkingmachines.ai/news/inkling-2-small/
252•Philpax•15h ago•84 comments

Window Sweaters

https://github.com/saragordic/window-sweaters
406•nickswalker•22h ago•118 comments

AI for scientific discovery: How researchers use Claude

https://www.anthropic.com/research/how-researchers-use-claude
18•ersinesen•5h ago•1 comments

Motorola Signature 27 with GrapheneOS support

https://motorolanews.com/motorola-signature-27-2/
540•monneyboi•23h ago•384 comments

Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM

https://firenook.dev/
155•sanjevirau•1d ago•20 comments

Tesla winds down Cybertruck production after years of poor sales in few markets

https://www.msn.com/en-us/technology/tech-companies/tesla-to-wind-down-cybertruck-production-afte...
194•PLenz•2h ago•245 comments

Launch HN: Rivet (YC W23) – Scale and Orchestrate Agents on S3

https://github.com/rivet-dev/rivet
110•NathanFlurry•21h ago•58 comments

Show HN: A decent text-to-image model trained for ~$20K (Apache 2.0 Weights)

https://www.linum.ai/field-notes/pjit-21k
260•schopra909•1d ago•25 comments

I wish tech companies knew more about me

https://rakhim.exotext.com/i-wish-tech-companies-knew-more-about-me
507•freetonik•1d ago•394 comments

September in Servo: <progress>, rounded rectangles, and more

https://servo.org/blog/2026/11/05/september-in-servo/
260•iamnothere•1d ago•68 comments