frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

NumClass – a Python CLI classifying integers into 200 number-theory properties

https://github.com/c788630/Numclass
2•c788630•1h ago

Comments

c788630•1h ago
Hi everyone,

For the past few months I’ve been building a personal project called NumClass: a Python CLI tool that analyzes an integer and classifies it into a large set of number-theory properties.

The idea started as a small experiment inspired by the YouTube channel Numberphile, but it quickly got out of hand and now supports 200+ classifiers.

Examples of things it can detect:

• perfect / abundant / weird numbers • Mersenne primes and primorial numbers • amicable, sociable and aspiring numbers (aliquot sequences) • Carmichael numbers and other pseudoprimes • narcissistic, Kaprekar and happy numbers • palindromic and truncatable primes • taxicab numbers (Hardy–Ramanujan style cube sums) • Fibonacci, Lucas, Pell and Padovan numbers • triangular, pentagonal and other figurate numbers • strange curiosities like Belphegor’s prime, vampire numbers and Munchausen numbers

The current version contains 205 atomic classifiers plus 27 intersections (232 properties in total).

Example output: [screenshot]

Some features:

• 200+ classifiers • extensible plugin-like architecture • configurable profiles (fast vs heavy computations) • OEIS sequence integration • support for very large integers (100000 digits by default) • explanations for each classification

The project is open source:

https://github.com/c788630/Numclass

I’m now looking for people who would like to test it, especially:

• mathematicians • Python developers • people interested in number theory • anyone who likes exploring interesting integer properties

If you decide to try it out, I would really appreciate feedback on:

• usability of the CLI • additional number-theory properties to implement • performance for very large numbers • any issues or bugs you encounter

There are also a few small Easter eggs hidden in the program (including Klingon number input), so feel free to explore

Installation instructions and documentation are available in the repository (docs folder).

netvarun•1h ago
This is an amazing project - thank you for building/sharing it!

NIST Time Widget

https://time.gov/widget/
1•gregsadetsky•1m ago•0 comments

Replit Is Pre‐Shopify‐2012

https://github.com/getlago/lago/wiki/Replit-Is-Pre%E2%80%90Shopify%E2%80%902012
1•AnhTho_FR•1m ago•0 comments

Confidently Wrong: Agentic coding predictions for the next year

https://thomshutt.com/2026/03/17/predictions/
1•chaghalibaghali•2m ago•0 comments

Open-index/hacker-news · Datasets at Hugging Face

https://huggingface.co/datasets/open-index/hacker-news
1•sharjeelsayed•3m ago•0 comments

Show HN: Score your GitHub repo for AI coding agents

https://twill.ai/scorecard
1•danoandco•3m ago•1 comments

Humanoids – A Bloomberg Terminal for the Robotics supply chain

https://www.humanoids.fyi/#/tab/skeleton
1•DwayneSamuels•6m ago•0 comments

systemd v260

https://github.com/systemd/systemd/releases/tag/v260
1•voxadam•6m ago•0 comments

American Diner Gothic

https://www.thenewatlantis.com/publications/american-diner-gothic
1•wyclif•8m ago•0 comments

Image manipulation has always been around: photographic fakes that trick the eye

https://www.bbc.com/culture/article/20260216-10-early-photographic-fakes-that-trick-the-eye
27•breve•11m ago•0 comments

Show HN: System that rediscovers physics laws from raw data autonomously

https://protoscience.ai
1•strujillo•12m ago•0 comments

'Many people fooled' by AI wedding pics, says Zendaya

https://www.bbc.com/news/articles/clyz7llp4k2o
1•breve•13m ago•0 comments

Show HN: Turn GitHub Pages into an Apt Repository

https://github.com/K0IN/apt-github-pages
1•K0IN•14m ago•0 comments

Brave is overriding user choice

https://community.brave.app/t/vimium-not-allowed-to-run-on-search-brave-com/650732
1•mcint•17m ago•0 comments

Arizona Files Criminal Charges Against Kalshi, the Prediction Site

https://www.nytimes.com/2026/03/17/technology/arizona-criminal-charges-kalshi.html
2•bookofjoe•18m ago•1 comments

Ask HN: Is anyone building write guarantees for agents working across tool

1•ajaystream•18m ago•0 comments

Tsdraw – a free modular drawing app

https://github.com/varunaditya-plus/tsdraw
1•varunaditya•21m ago•1 comments

The 30% Rule in AI

https://www.generative.inc/what-is-the-30-rule-in-ai
1•goldkey•22m ago•0 comments

Show HN: GitGlimpse – GitHub Action that generates UI/UX demos for your PRs

https://github.com/DeDuckProject/git-glimpse
2•fatach•23m ago•0 comments

The Delegation Dilemma, When AI Becomes Your Best Employee

https://leadprompt.sh/a/728-The-Delegation-Dilemma,-When-AI-Becomes-Your-Best-Employee-2026w8
1•saltysalt•24m ago•0 comments

CVE-2026-31900, my 0-click RCE in the psf/black GitHub Action

https://medium.com/securitycertcommunity/cve-2026-31900-50800bafafba
2•ParzivalHack•26m ago•1 comments

Marvin Hagemeister, Luca Casonato, David Sherret and Phil Hawksworth left Deno

https://bsky.app/profile/lcas.dev/post/3mhb4kavxd22y
8•simlevesque•30m ago•3 comments

What If You Could Know What Your Judge Did Last Summer?

https://rokoslobbyist.substack.com/p/what-if-you-could-actually-know-what
3•anonym29•31m ago•0 comments

Why AI systems don't learn – On autonomous learning from cognitive science

https://arxiv.org/abs/2603.15381
2•aanet•31m ago•2 comments

Motorcycle makers in Japan race to go carbon-neutral

https://www.japantimes.co.jp/business/2026/02/24/companies/japan-electric-motorbikes/
1•PaulHoule•33m ago•0 comments

Tennessee Teens Sue Elon Musk's xAI over Child Sexual Abuse Images

https://www.motherjones.com/politics/2026/03/tennessee-teens-sue-elon-musks-xai-over-child-sexual...
2•cdrnsf•33m ago•0 comments

Netanyahu Posts 'Proof of Life' Video as A.I. Sows Doubts About What's Real

https://www.nytimes.com/2026/03/17/technology/netanyahu-ai-video-iran-israel.html
2•geox•33m ago•0 comments

RustCFML – A CFML interpreter written in Rust

https://github.com/pixl8/RustCFML
3•rmason•38m ago•0 comments

Ask HN: How do you handle payments for AI agents?

1•bahaghazghazi•39m ago•1 comments

I built a screen-free, storytelling toy with an ESP32

https://github.com/akdeb/open-toys/blob/main/app/README.md
1•akadeb•42m ago•1 comments

Italy warns stricken Russian tanker could explode in Med at any time

https://www.bbc.com/news/articles/cn9e9dxw3e1o
1•tartoran•45m ago•0 comments