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.

Shaders: How to draw high fidelity graphics with just x and y coordinates

https://www.makingsoftware.com/chapters/shaders
165•Garbage•4h ago•43 comments

Raycast for Windows Is Here

https://www.raycast.com/blog/raycast-for-windows
15•a32•39m ago•5 comments

Calculus for Mathematicians, Computer Scientists, and Physicists [pdf]

https://mathcs.holycross.edu/~ahwang/print/calc.pdf
11•o4c•37m ago•1 comments

73% of AI startups are just prompt engineering

https://pub.towardsai.net/i-reverse-engineered-200-ai-startups-73-are-lying-a8610acab0d3
55•kllrnohj•51m ago•35 comments

Court filings allege Meta downplayed risks to children and misled the public

https://time.com/7336204/meta-lawsuit-files-child-safety/
83•binning•1h ago•30 comments

HumanLayer (YC F24) Is Hiring Founding Engineers

https://www.ycombinator.com/companies/humanlayer/jobs/oBCZzc7-founding-product-engineer
1•dhorthy•8m ago

A monopoly ISP refuses to fix upstream infrastructure

https://sacbear.com/xfinity-wont-fix-internet/
464•vedmed•16h ago•232 comments

Tosijs-schema is a super lightweight schema-first LLM-native JSON schema library

https://www.npmjs.com/package/tosijs-schema
33•podperson•3h ago•16 comments

Almost all Collatz orbits attain almost bounded values

https://mathvideos.org/2023/terence-tao-almost-all-collatz-orbits-attain-almost-bounded-values/
73•measurablefunc•5d ago•17 comments

Spectral rendering, part 2: Real-time rendering

https://momentsingraphics.de/SpectralRendering2Rendering.html
7•todsacerdoti•1w ago•0 comments

Unusual circuits in the Intel 386's standard cell logic

https://www.righto.com/2025/11/unusual-386-standard-cell-circuits.html
172•Stratoscope•13h ago•36 comments

After my dad died, we found the love letters

https://www.jenn.site/after-my-dad-died-we-found-the-love-letters/
515•eatitraw•8h ago•249 comments

UK minister ducks cost questions on nationwide digital ID scheme

https://www.theregister.com/2025/11/21/uk_digital_id_costs_uncertain/
51•Bender•2h ago•29 comments

Racket v9.0

https://blog.racket-lang.org/2025/11/racket-v9-0.html
127•Fice•3h ago•23 comments

Ask HN: Good resources to learn financial systems engineering?

7•_1tan•39m ago•0 comments

Typechecking is undecideable when 'type' is a type (1989) [pdf]

https://dspace.mit.edu/bitstream/handle/1721.1/149366/MIT-LCS-TR-458.pdf
27•birdculture•5d ago•11 comments

The privacy nightmare of browser fingerprinting

https://kevinboone.me/fingerprinting.html
662•ingve•1d ago•386 comments

GCC SC approves inclusion of Algol 68 Front End

https://gcc.gnu.org/pipermail/gcc/2025-November/247020.html
193•edelsohn•14h ago•78 comments

We Induced Smells With Ultrasound

https://writetobrain.com/olfactory
582•exr0n•1d ago•159 comments

sit: Create StuffIt archives on Unix systems

https://github.com/thecloudexpanse/sit
35•classichasclass•6d ago•2 comments

Ubuntu LTS releases to 15 years with Legacy add-on

https://canonical.com/blog/canonical-expands-total-coverage-for-ubuntu-lts-releases-to-15-years-w...
185•taubek•3d ago•123 comments

WorldGen – Text to Immersive 3D Worlds

https://www.meta.com/en-gb/blog/worldgen-3d-world-generation-reality-labs-generative-ai-research/
231•smusamashah•19h ago•78 comments

Show HN: Forty.News – Daily news, but on a 40-year delay

https://forty.news
365•foxbarrington•22h ago•142 comments

NTSB report: Decryption of images from the Titan submersible camera [pdf] (2024)

https://data.ntsb.gov/Docket/Document/docBLOB?ID=18741602&FileExtension=pdf&FileName=Underwater%2...
152•bmurray7jhu•16h ago•74 comments

Gnome is better macOS than macOS

https://andreyor.st/posts/2025-11-23-gnome-is-better-macos-than-macos/
7•gsky•2h ago•2 comments

First kiss dates back 21M years

https://www.bbc.com/news/articles/cr43gq61g2qo
31•1659447091•4d ago•15 comments

Gordon Bell finalist team pushes scale of rocket simulation on El Capitan

https://www.llnl.gov/article/53626/gordon-bell-finalist-team-pushes-scale-rocket-simulation-el-ca...
8•perihelions•3h ago•0 comments

The Boring Part of Bell Labs

https://elizabethvannostrand.substack.com/p/the-boring-part-of-bell-labs
149•AcesoUnderGlass•3d ago•36 comments

Meta buried 'causal' evidence of social media harm, US court filings allege

https://www.reuters.com/sustainability/boards-policy-regulation/meta-buried-causal-evidence-socia...
526•pseudolus•15h ago•212 comments

Asymptotically optimal approximate Hadamard matrices

https://arxiv.org/abs/2511.14653
7•mathfan•4d ago•1 comments