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.

Google no longer provides direct URLs in search results

https://www.autom.dev/blog/google-search-goto-links
239•1e1a•2h ago•119 comments

Clay Mathematics Institute on the Navier-Stokes Problem

https://www.claymath.org/news/navier-stokes-announcement/
52•rvz•1h ago•15 comments

A misalignment of AI in mathematics

https://mathandai.org/
799•meredydd•12h ago•796 comments

Usenet rewind archive search engine

https://www.usenet-rewind.com/
26•cstadler1869•1h ago•3 comments

I spent $220 on Google app ads and 60% of the installs were robots

https://dayzlegame.com/blog/google-ads-bot-farm/
427•nickabe•11h ago•220 comments

Pandas Should Go Extinct

https://eddie.codes/posts/pandas-should-go-extinct/
112•__eddie__•3h ago•64 comments

Great Lakes sturgeon may be 400 years old:Scientists rethinking how to save them

https://www.cbc.ca/news/canada/ontario-great-lakes-sturgeon-lifespan-study-9.7329250
37•bookofjoe•2d ago•2 comments

A Design Space Exploration of Async/Await

https://cel.cs.brown.edu/blog/design-space-async-await/
224•wcrichton•2d ago•48 comments

OpenAI agents attacked RubyGems back in May

https://simonwillison.net/2026/Sep/12/openai-agents-rubygems/
10•lumpa•1h ago•1 comments

OpenAI agents carried out an undisclosed attack on RubyGems

https://www.rubyhack.ai/
551•chao-•6h ago•318 comments

Designing for Dual Screen and Foldable Devices with CSS (2023)

https://blog.stephaniestimac.com/posts/2023/05/design-foldable-devices/
14•mooreds•1d ago•2 comments

GrapheneOS' rewritten Messages app is released

https://github.com/GrapheneOS/Messaging/releases/tag/13
238•microtonal•11h ago•157 comments

Mind-altering drugs played key role in rise of Andean civilization

https://www.science.org/content/article/mind-altering-drugs-played-key-role-rise-andean-civilization
135•geneticdrifts•12h ago•86 comments

Litelm: LiteLLM Without the Bloat

https://github.com/kennethwolters/litelm
118•kennethwolters•11h ago•39 comments

Project Blinkenlights

https://blinkenlights.de/en/
69•doener•7h ago•28 comments

AI researchers debate how close we are to recursive self-improvement

https://www.dwarkesh.com/p/john-beren-charlie
85•artninja1988•8h ago•72 comments

Show HN: ResolveHQ – A Helpdesk Built on Cloudflare Workers, D1, R2 and Queues

https://github.com/mirza-rizvi/ResolveHQ
48•mirza_rizvi•8h ago•14 comments

I've operated petabyte-scale ClickHouse clusters for 5 years

https://www.tinybird.co/blog/what-i-learned-operating-clickhouse
194•adastral•4d ago•74 comments

Show HN: Graphify C# – Compiler-accurate Find Usages for coding agents

https://github.com/zachsaw/graphify-csharp
28•zachsaw•5h ago•12 comments

AlphaGenome maps 9B DNA variants

https://spectrum.ieee.org/alphagenome-atlas
78•ltononro•2d ago•7 comments

Testing Race Conditions

https://projectzero.google/2026/09/maccconc-race-condition.html
35•alpaylan•2d ago•0 comments

Rune is now open source

https://rune.build/blog/rune-is-now-open-source
165•ernestrc•14h ago•56 comments

The EPA is planning to scrap public review rules for data center pollution

https://capitalbnews.org/data-centers-permit-rules-epa/
423•doener•11h ago•296 comments

Logo Programming Language

https://el.media.mit.edu/logo-foundation/what_is_logo/logo_programming.html
258•azhenley•2d ago•106 comments

Λ Snap – An inviting programming language for kids and adults for CS study

https://snap.berkeley.edu/
132•dr_kiszonka•12h ago•74 comments

Show HN: Bodily Oddities

https://vester.si/bodily-oddities/
192•vesterde•1d ago•147 comments

Claude is only available to people over 18 years

https://support.claude.com/en/articles/15171100-age-assurance-on-claude
615•Muhammad523•19h ago•621 comments

Starlink Signal Leakage Threatens Radio Astronomy's Most Critical Frequencies

https://www.gadgetreview.com/starlinks-signal-leakage-is-threatening-radio-astronomys-most-critic...
86•upofadown•5h ago•50 comments

How we rebuilt complex permissions without migrating to Zanzibar

https://infisical.com/blog/folder-based-rbac
41•FinnLobsien•2d ago•11 comments

Google will buy half the electricity from one of Finland's nuclear power plants

https://www.bbc.com/news/articles/c8r6y4me2g6o
329•lukaspetersson•1d ago•299 comments