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.

Show HN: Moongate – Ultima Online server emulator in .NET 10 with Lua scripting

https://github.com/moongate-community/moongatev2
161•squidleon•5h ago•94 comments

Open Camera is a FOSS Camera App for Android

https://opencamera.org.uk/
131•tetris11•4d ago•60 comments

Tech employment now significantly worse than the 2008 or 2020 recessions

https://twitter.com/JosephPolitano/status/2029916364664611242
160•enraged_camel•1h ago•97 comments

Launch HN: Palus Finance (YC W26): Better yields on idle cash for startups, SMBs

17•sam_palus•57m ago•14 comments

CT Scans of Health Wearables

https://www.lumafield.com/scan-of-the-month/health-wearables
127•radeeyate•5h ago•21 comments

Payphone Go

https://walzr.com/payphone-go/
212•walz•4d ago•47 comments

Astra: An open-source observatory control software

https://github.com/ppp-one/astra
43•pppone•3h ago•14 comments

Entomologists use a particle accelerator to image ants at scale

https://spectrum.ieee.org/3d-scanning-particle-accelerator-antscan
43•gmays•3h ago•2 comments

Supertoast tables

https://hatchet.run/blog/supertoast-tables
32•abelanger•2h ago•4 comments

Workers who love ‘synergizing paradigms’ might be bad at their jobs

https://news.cornell.edu/stories/2026/03/workers-who-love-synergizing-paradigms-might-be-bad-thei...
400•Anon84•5h ago•222 comments

Multifactor (YC F25) Is Hiring an Engineering Lead

https://www.ycombinator.com/companies/multifactor/jobs/lcpd60A-engineering-lead
1•multifactor•2h ago

LibreSprite – open-source pixel art editor

https://libresprite.github.io/
198•nicoloren•10h ago•73 comments

Analytic Fog Rendering with Volumetric Primitives (2025)

https://matejlou.blog/2025/02/11/analytic-fog-rendering-with-volumetric-primitives/
64•surprisetalk•1d ago•3 comments

Global warming has accelerated significantly

https://www.researchsquare.com/article/rs-6079807/v1
734•morsch•5h ago•708 comments

Show HN: Claude-replay – A video-like player for Claude Code sessions

https://github.com/es617/claude-replay
22•es617•3h ago•14 comments

Good Bad ISPs

https://community.torproject.org/relay/community-resources/good-bad-isps/
59•rzk•5h ago•16 comments

Never Bet Against x86

https://www.osnews.com/story/144527/never-bet-against-x86/
36•raphinou•1h ago•19 comments

Show HN: A trainable, modular electronic nose for industrial use

https://sniphi.com/
13•kwitczak•3d ago•4 comments

Triplet Superconductor

https://www.sciencedaily.com/releases/2026/02/260221000252.htm
6•jonbaer•4d ago•0 comments

Paul Brainerd, Founder of Aldus PageMaker, has died

https://blog.adafruit.com/2026/03/04/pagemaker-and-aldus-founder-pioneer-paul-brainerd-1947-2026/
78•fortran77•3h ago•12 comments

We might all be AI engineers now

https://yasint.dev/we-might-all-be-ai-engineers-now/
98•sn0wflak3s•10h ago•145 comments

It took four years until 2011’s iOS 5 gave everyone an emoji keyboard

https://unsung.aresluna.org/im-obviously-taking-a-risk-here-by-advertising-emoji-directly/
102•tobr•11h ago•59 comments

Hardening Firefox with Anthropic's Red Team

https://blog.mozilla.org/en/firefox/hardening-firefox-anthropic-red-team/
298•todsacerdoti•7h ago•96 comments

Xous security focused open source on 22nm custom silicon

https://www.crowdsupply.com/sutajio-kosagi/precursor/updates/xous-0-10-0-introducing-baochip-1x-s...
59•ZiiS•4d ago•9 comments

System76 on Age Verification Laws

https://blog.system76.com/post/system76-on-age-verification/
742•LorenDB•15h ago•539 comments

A tool that REMOVES censorship from ANY open-weight LLM with a single click

https://github.com/elder-plinius/OBLITERATUS
13•mvdwoord•4h ago•3 comments

The Brand Age

https://paulgraham.com/brandage.html
445•bigwheels•1d ago•345 comments

Show HN: Swarm – Program a colony of 200 ants using a custom assembly language

https://dev.moment.com/
162•armandhammer10•15h ago•55 comments

GPL upgrades via section 14 proxy delegation

https://runxiyu.org/comp/gplproxy/
96•weinzierl•10h ago•42 comments

Claude Code wiped our production database with a Terraform command

https://twitter.com/Al_Grigor/status/2029889772181934425
81•jv22222•1h ago•77 comments