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

Comments

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

Personal blogs are back, should niche blogs be next?

https://disassociated.com/personal-blogs-back-niche-blogs-next/
167•gnabgib•5h ago•114 comments

Arduino Terms of Service and Privacy Policy update: setting the record straight

https://blog.arduino.cc/2025/11/21/the-arduino-terms-of-service-and-privacy-policy-update-setting...
32•manchoz•7h ago•9 comments

Helping Valve to power up Steam devices

https://www.igalia.com/2025/11/helpingvalve.html
484•TingPing•11h ago•152 comments

Samsung's 60% DRAM price hike signals a new phase of global memory tightening

https://www.buysellram.com/blog/samsungs-memory-price-surge-sends-shockwaves-through-the-global-d...
200•redohmy•1w ago•148 comments

Show HN: Wealthfolio 2.0- Open source investment tracker. Now Mobile and Docker

https://wealthfolio.app/?v=2.0
462•a-fadil•12h ago•161 comments

Apple's Problem with Bodies

https://drobinin.com/posts/apples-problem-with-bodies/
12•valzevul•5h ago•3 comments

Childhood Friends, Not Moms, Shape Attachment Styles Most

https://nautil.us/childhood-friends-not-moms-shape-attachment-styles-most-1247316/
152•dnetesn•1w ago•48 comments

LAPD helicopter tracker with real-time operating costs

https://lapdhelicoptertracker.com/
116•polalavik•6h ago•128 comments

How I learned Vulkan and wrote a small game engine with it (2024)

https://edw.is/learning-vulkan/
45•jakogut•5h ago•20 comments

Self-hosting a NAT Gateway

https://www.awsistoohard.com/blog/self-hosting-nat-gateway
87•veryrealsid•4d ago•52 comments

Moss Survives 9 Months in Space Vacuum

https://scienceclock.com/moss-survives-9-months-in-space-vacuum/
8•ashishgupta2209•39m ago•1 comments

Sharper MRI scans may be on horizon thanks to new physics-based model

https://news.rice.edu/news/2025/sharper-mri-scans-may-be-horizon-thanks-new-physics-based-model
27•hhs•4h ago•4 comments

We should all be using dependency cooldowns

https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
308•todsacerdoti•13h ago•196 comments

Pixar: The Early Days A never-before-seen 1996 interview

https://stevejobsarchive.com/stories/pixar-early-days
92•sanj•7h ago•8 comments

Discontinuation of ARM Notebook with Snapdragon X Elite SoC

https://www.tuxedocomputers.com/en/Discontinuation-of-ARM-notebooks-with-Snapdragon-X-Elite-SoC.t...
103•Venn1•8h ago•30 comments

You can make PS2 games in JavaScript

https://jslegenddev.substack.com/p/you-can-now-make-ps2-games-in-javascript
247•tosh•11h ago•58 comments

Is Matrix Multiplication Ugly?

https://mathenchant.wordpress.com/2025/11/21/is-matrix-multiplication-ugly/
59•jamespropp•6h ago•30 comments

Infinibay LXD Container

https://github.com/Infinibay/lxd
8•angaroshi•2h ago•0 comments

Mexico's Female Rodeo Culture

https://www.cnn.com/2025/11/13/style/escaramuza-cowgirl-fashion-photography
3•RickJWagner•1w ago•0 comments

Prozac 'no better than placebo' for treating children with depression, experts

https://www.theguardian.com/society/2025/nov/20/prozac-no-better-than-placebo-for-treating-childr...
233•pseudolus•1d ago•342 comments

Building a Durable Execution Engine with SQLite

https://www.morling.dev/blog/building-durable-execution-engine-with-sqlite/
123•ingve•1d ago•39 comments

Shop Sans is a typeface for curved text paths

https://www.futurefonts.com/hex/shop-sans
130•tobr•1w ago•35 comments

The Strange Afterlife of Hilma af Klint, Painting’s Posthumous Star

https://www.newyorker.com/magazine/2025/11/24/the-strange-afterlife-of-hilma-af-klint-paintings-p...
24•FinnLobsien•4d ago•1 comments

3D printing with unconventional vase mode

https://vorpal.se/posts/2025/jun/23/3d-printing-with-unconventional-vase-mode/
28•dgroshev•5h ago•6 comments

Make product worse, get money

https://dynomight.net/worse/
67•zdw•13h ago•62 comments

RRules (yes handling RSCALE) using only PL/pgSQL

https://github.com/sirrodgepodge/rrule_plpgsql
17•sirrodgepodge•1w ago•1 comments

Pivot Robotics (YC W24) Is Hiring for an Industrial Automation Hardware Engineer

https://www.ycombinator.com/companies/pivot-robotics/jobs/7xG9Dc6-mechanical-engineer-controls
1•vigneshrajmohan•11h ago

Homeschooling hits record numbers

https://reason.com/2025/11/19/homeschooling-hits-record-numbers/
219•bilsbie•1d ago•603 comments

Solving Fizz Buzz with Cosines

https://susam.net/fizz-buzz-with-cosines.html
131•hprotagonist•11h ago•37 comments

When functions dissolve (2020)

https://rubber-duck-typing.com/posts/2020-12-12-when-functions-dissolve.html
7•vitalnodo•6d ago•0 comments