<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Marcel van Dinteren</title>
    <description>The latest articles on DEV Community by Marcel van Dinteren (@marcel_vandinteren_477b0).</description>
    <link>https://dev.to/marcel_vandinteren_477b0</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3830039%2F67336609-a092-4cb6-8e7c-7e910ab34d81.jpg</url>
      <title>DEV Community: Marcel van Dinteren</title>
      <link>https://dev.to/marcel_vandinteren_477b0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/marcel_vandinteren_477b0"/>
    <language>en</language>
    <item>
      <title>Building a Python CLI that reveals 200+ number theory properties of integers</title>
      <dc:creator>Marcel van Dinteren</dc:creator>
      <pubDate>Tue, 17 Mar 2026 20:38:17 +0000</pubDate>
      <link>https://dev.to/marcel_vandinteren_477b0/numclass-a-python-cli-that-classifies-integers-into-200-number-theory-properties-looking-for-h18</link>
      <guid>https://dev.to/marcel_vandinteren_477b0/numclass-a-python-cli-that-classifies-integers-into-200-number-theory-properties-looking-for-h18</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;What if you could instantly see 200+ mathematical properties of any integer?&lt;/p&gt;

&lt;p&gt;Prime, perfect, abundant — those are well known. But there are hundreds of lesser-known classifications, many buried in OEIS or scattered across number theory literature.&lt;/p&gt;

&lt;p&gt;I wanted a way to explore these properties systematically, especially for large integers where performance becomes a real constraint. That led me to build a Python CLI tool that classifies integers into 200+ number-theory properties, with a focus on speed and extensibility.&lt;/p&gt;

&lt;p&gt;Examples of things it can detect:&lt;/p&gt;

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

&lt;p&gt;The current version contains 205 atomic classifiers plus 27 intersections (232 properties in total).&lt;/p&gt;

&lt;p&gt;Example output:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffkuu9juc10u2aei5148m.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffkuu9juc10u2aei5148m.jpg" alt=" " width="800" height="1082"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Some features:&lt;/p&gt;

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

&lt;p&gt;The project is open source:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/c788630/Numclass" rel="noopener noreferrer"&gt;https://github.com/c788630/Numclass&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’m now looking for people who would like to test it, especially:&lt;/p&gt;

&lt;p&gt;• mathematicians&lt;br&gt;
• Python developers&lt;br&gt;
• people interested in number theory&lt;br&gt;
• anyone who likes exploring interesting integer properties&lt;/p&gt;

&lt;p&gt;If you decide to try it out, I would really appreciate feedback on:&lt;/p&gt;

&lt;p&gt;• usability of the CLI&lt;br&gt;
• additional number-theory properties to implement&lt;br&gt;
• performance for very large numbers&lt;br&gt;
• any issues or bugs you encounter&lt;/p&gt;

&lt;p&gt;There are also a few small Easter eggs hidden in the program (including Klingon number input), so feel free to explore 🙂&lt;/p&gt;

&lt;p&gt;Installation instructions and documentation are available in the repository (docs folder).&lt;/p&gt;

</description>
      <category>python</category>
      <category>cli</category>
      <category>opensource</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
