# arbitrary-precision arithmetic

Published articles for arbitrary-precision arithmetic.

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 -- 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.