# riemann hypothesis

Published articles for riemann hypothesis.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Searching for RH Counterexamples -- Exploring Data

DevFeed: [Searching for RH Counterexamples -- Exploring Data](<https://devfeed.tech/articles/searching-for-rh-counterexamples-exploring-data-40447.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2021/06/14/searching-for-rh-counterexamples-exploring-data/>)

Published: 2021-06-14T08:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Data analysis](<https://devfeed.tech/topics/data-analysis.md>), [data](<https://devfeed.tech/topics/data.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Database](<https://devfeed.tech/topics/database.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [article](<https://devfeed.tech/tags/article.md>), [aws](<https://devfeed.tech/tags/aws.md>), [data-analysis](<https://devfeed.tech/tags/data-analysis.md>), [data-visualization](<https://devfeed.tech/tags/data-visualization.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [performance](<https://devfeed.tech/tags/performance.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [regression](<https://devfeed.tech/tags/regression.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [superabundant-numbers](<https://devfeed.tech/tags/superabundant-numbers.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

The article examines data from a search for counterexamples to the Riemann Hypothesis. It reports that the search stopped partway through numbers with 136 prime divisors, and that the strongest witness found remained below the value needed to disprove the hypothesis. It also summarizes runtime and AWS costs.

### Source excerpt

We're ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded integers Deploying with Docker Performance Profiling Scaling up Productionizing In the last article we added a menagerie of "production readiness" features like continuous integration tooling (automating test running and static analysis), alerting, and a simple deployment automation. Then I let it loose on AWS, got extremely busy with buying a house, forgot about this program for a few weeks (no alerts means it worked flawlessly!

## Searching for RH Counterexamples -- Scaling Up

DevFeed: [Searching for RH Counterexamples -- Scaling Up](<https://devfeed.tech/articles/searching-for-rh-counterexamples-scaling-up-40444.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2021/02/16/searching-for-rh-counterexamples-scaling-up/>)

Published: 2021-02-16T09:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [hashing](<https://devfeed.tech/topics/hashing.md>), [scaling](<https://devfeed.tech/topics/scaling.md>), [sha256](<https://devfeed.tech/topics/sha256.md>), [hash](<https://devfeed.tech/topics/hash.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [disk-space](<https://devfeed.tech/tags/disk-space.md>), [hashing](<https://devfeed.tech/tags/hashing.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [performance](<https://devfeed.tech/tags/performance.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [programming](<https://devfeed.tech/tags/programming.md>), [refactor](<https://devfeed.tech/tags/refactor.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [sha256](<https://devfeed.tech/tags/sha256.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

This article describes scaling a search for counterexamples to the Riemann Hypothesis. It focuses on reducing storage by keeping deterministic SHA-256 summaries instead of every witness value and refactoring the application into a worker architecture.

### Source excerpt

We're ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded integers Deploying with Docker Performance Profiling Last time we made the audacious choice to remove primary keys from the RiemannDivisorSums table for performance reasons. To help with that, we will do two things in this post Reduce the storage footprint of the whole application (it was 60 GiB when it crashed, and we got up to 84 prime factors).

## Searching for RH Counterexamples -- Performance Profiling

DevFeed: [Searching for RH Counterexamples -- Performance Profiling](<https://devfeed.tech/articles/searching-for-rh-counterexamples-performance-profiling-40443.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2021/02/02/searching-for-rh-counterexamples-performance-profiling/>)

Published: 2021-02-02T08:00:00Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Computing](<https://devfeed.tech/topics/computing.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Database](<https://devfeed.tech/topics/database.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [cpu](<https://devfeed.tech/tags/cpu.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [docker](<https://devfeed.tech/tags/docker.md>), [ec2](<https://devfeed.tech/tags/ec2.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [performance](<https://devfeed.tech/tags/performance.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [profiling](<https://devfeed.tech/tags/profiling.md>), [programming](<https://devfeed.tech/tags/programming.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [software](<https://devfeed.tech/tags/software.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

This tutorial investigates performance problems in a Docker application running on Amazon EC2 while searching for Riemann Hypothesis counterexamples. It describes gathering resource metrics, narrowing the source of delays, isolating computations locally, and measuring divisor-sum blocks.

### Source excerpt

We're ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded integers Deploying with Docker In the last article we ran into some performance issues with our deployed docker application. In this article we'll dig in to see what happened, fix the problem, run into another problem, fix it, and run the search until we rule out RH witness-value-based counterexamples among all numbers with fewer than 85 prime factors.

## Searching for RH Counterexamples -- Deploying with Docker

DevFeed: [Searching for RH Counterexamples -- Deploying with Docker](<https://devfeed.tech/articles/searching-for-rh-counterexamples-deploying-with-docker-40442.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2021/01/04/searching-for-rh-counterexamples-deploying-with-docker/>)

Published: 2021-01-04T09:00:00Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [reproducibility](<https://devfeed.tech/topics/reproducibility.md>), [Database](<https://devfeed.tech/topics/database.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [containers](<https://devfeed.tech/tags/containers.md>), [database](<https://devfeed.tech/tags/database.md>), [docker](<https://devfeed.tech/tags/docker.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [programming](<https://devfeed.tech/tags/programming.md>), [pytest](<https://devfeed.tech/tags/pytest.md>), [reproducibility](<https://devfeed.tech/tags/reproducibility.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [server](<https://devfeed.tech/tags/server.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

A tutorial on deploying an application that searches for counterexamples to the Riemann Hypothesis. It explains reproducibility and hermeticity, then uses Docker containers for the database, search application, and planned web server.

### Source excerpt

We're ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search Strategies Unbounded Integers In this article we'll deploy the application on a server, so that it can search for RH counterexamples even when I close my laptop. Servers and containers When deploying applications to servers, reproducibility is crucial. You don't want your application to depend on the details of the computer it's running on. This is a higher-level version of the same principle behind Python virtual environments, but it applies to collections of programs, possibly written in different languages and running on different computers.

## Searching for RH Counterexamples -- Unbounded Integers

DevFeed: [Searching for RH Counterexamples -- Unbounded Integers](<https://devfeed.tech/articles/searching-for-rh-counterexamples-unbounded-integers-40440.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2020/10/13/searching-for-rh-counterexamples-unbounded-integers/>)

Published: 2020-10-13T09:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [Python](<https://devfeed.tech/topics/python.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Numba](<https://devfeed.tech/topics/numba.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>)

Tags: [arbitrary-precision-arithmetic](<https://devfeed.tech/tags/arbitrary-precision-arithmetic.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [numba](<https://devfeed.tech/tags/numba.md>), [number-theory](<https://devfeed.tech/tags/number-theory.md>), [open-closed](<https://devfeed.tech/tags/open-closed.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [python](<https://devfeed.tech/tags/python.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [software](<https://devfeed.tech/tags/software.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [superabundant-numbers](<https://devfeed.tech/tags/superabundant-numbers.md>)

### AI overview

This article examines how searching for Riemann Hypothesis counterexamples reaches the limits of 64-bit integers. It explains unbounded integer arithmetic and considers database and performance alternatives for storing and processing the search results.

### Source excerpt

We're ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search strategies In the last article, we improved our naive search from "try all positive integers" to enumerate a subset of integers (superabundant numbers), which RH counterexamples are guaranteed to be among. These numbers grow large, fast, and we quickly reached the limit of what 64 bit integers can store. Unbounded integer arithmetic is possible on computers, but it requires a special software implementation.

## Searching for RH Counterexamples -- Search Strategies

DevFeed: [Searching for RH Counterexamples -- Search Strategies](<https://devfeed.tech/articles/searching-for-rh-counterexamples-search-strategies-40439.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2020/09/28/searching-for-rh-counterexamples-search-strategies/>)

Published: 2020-09-28T20:48:00Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Code](<https://devfeed.tech/topics/code.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [Testing](<https://devfeed.tech/topics/testing.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [git](<https://devfeed.tech/tags/git.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interface](<https://devfeed.tech/tags/interface.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [software](<https://devfeed.tech/tags/software.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [superabundant-numbers](<https://devfeed.tech/tags/superabundant-numbers.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

A tutorial episode that uses a search for counterexamples to the Riemann Hypothesis to teach software engineering. It develops a more efficient enumeration strategy based on superabundant numbers, prime exponents, and integer partitions, while connecting the implementation to testing, interfaces, and repository commits.

### Source excerpt

We're glibly searching for counterexamples to the Riemann Hypothesis, to trick you into learning about software engineering principles. In the first two articles we configured a testing framework and showed how to hide implementation choices behind an interface. Next, we'll improve the algorithm's core routine. As before, I'll link to specific git commits in the final code repository to show how the project evolves. Superabundant numbers A superabundant number $ n$ is one which has "maximal relative divisor sums" in the following sense: for all $ m < n$,

## Searching for RH Counterexamples -- Adding a Database

DevFeed: [Searching for RH Counterexamples -- Adding a Database](<https://devfeed.tech/articles/searching-for-rh-counterexamples-adding-a-database-40437.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2020/09/11/searching-for-rh-counterexamples-adding-a-database/>)

Published: 2020-09-11T18:53:48Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Code](<https://devfeed.tech/topics/code.md>), [interface](<https://devfeed.tech/topics/interface.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [git](<https://devfeed.tech/tags/git.md>), [interface](<https://devfeed.tech/tags/interface.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [number-theory](<https://devfeed.tech/tags/number-theory.md>), [oeis](<https://devfeed.tech/tags/oeis.md>), [programming](<https://devfeed.tech/tags/programming.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [software](<https://devfeed.tech/tags/software.md>), [software-design](<https://devfeed.tech/tags/software-design.md>), [sql](<https://devfeed.tech/tags/sql.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

This tutorial extends a Python application that computes divisor sums related to attempts to disprove the Riemann Hypothesis by adding a database dependency. It advocates defining and testing a minimal interface before choosing a database, so the dependency can change as the application evolves.

### Source excerpt

In the last article we set up pytest for a simple application that computes divisor sums $ \sigma(n)$ and tries to disprove the Riemann Hypothesis. In this post we'll show how to extend the application as we add a database dependency. The database stores the computed sums so we can analyze them after our application finishes. As in the previous post, I'll link to specific git commits in the final code repository to show how the project evolves.

## Searching for RH Counterexamples -- Setting up Pytest

DevFeed: [Searching for RH Counterexamples -- Setting up Pytest](<https://devfeed.tech/articles/searching-for-rh-counterexamples-setting-up-pytest-40438.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2020/09/11/searching-for-rh-counterexamples-setting-up-pytest/>)

Published: 2020-09-11T15:51:48Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Pytest](<https://devfeed.tech/topics/pytest.md>), [Python](<https://devfeed.tech/topics/python.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Code](<https://devfeed.tech/topics/code.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [development-environment](<https://devfeed.tech/tags/development-environment.md>), [git](<https://devfeed.tech/tags/git.md>), [github](<https://devfeed.tech/tags/github.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [number-theory](<https://devfeed.tech/tags/number-theory.md>), [programming](<https://devfeed.tech/tags/programming.md>), [project-organization](<https://devfeed.tech/tags/project-organization.md>), [pytest](<https://devfeed.tech/tags/pytest.md>), [python](<https://devfeed.tech/tags/python.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [setup](<https://devfeed.tech/tags/setup.md>), [shell](<https://devfeed.tech/tags/shell.md>), [software](<https://devfeed.tech/tags/software.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

A hands-on tutorial that sets up a Python 3.8 project with pytest and Git, using a search for counterexamples related to the Riemann Hypothesis as the example problem. It explains terminal-based project setup, testing, organization, and how design evolves during development.

### Source excerpt

Some mathy-programmy people tell me they want to test their code, but struggle to get set up with a testing framework. I suspect it's due to a mix of: There are too many choices with a blank slate. Making slightly wrong choices early on causes things to fail in unexpected ways. I suspect the same concerns apply to general project organization and architecture. Because Python is popular for mathy-programmies, I'll build a Python project that shows how I organize my projects and and test my code, and how that shapes the design and evolution of my software.