GPU-accelerated Exhaustive Verification of the Collatz Conjecture

The main contribution of this paper is to present an implementation that performs the exhaustive search to verify the Collatz conjecture using a GPU. Consider the following operation on an arbitrary positive number: if the number is even, divide it by two, and if the number is odd, triple it and add...

Full description

Saved in:
Bibliographic Details
Published inInternational Journal of Networking and Computing Vol. 7; no. 1; pp. 69 - 85
Main Authors Honda, Takumi, Ito, Yasuaki, Nakano, Koji
Format Journal Article
LanguageEnglish
Published IJNC Editorial Committee 2017
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The main contribution of this paper is to present an implementation that performs the exhaustive search to verify the Collatz conjecture using a GPU. Consider the following operation on an arbitrary positive number: if the number is even, divide it by two, and if the number is odd, triple it and add one. The Collatz conjecture asserts that, starting from any positive number m, repeated iteration of the operations eventually produces the value 1. We have implemented it on NVIDIA GeForce GTX TITAN X and evaluated the performance. The experimental results show that, our GPU implementation can verify 1.31×1012 64-bit numbers per second. While the sequential CPU implementation on Intel Core i7-4790 can verify 5.25×109 64-bit numbers per second. Thus, our implementation on the GPU attains a speed-up factor of 249 over the sequential CPU implementation. Additionally, we accelerated the computation of counting the number of the above operations until a number reaches 1, called delay that is one of the mathematical interests for the Collatz conjecture by the GPU. Using a similar idea, we achieved a speed-up factor of 73.
ISSN:2185-2839
2185-2847
DOI:10.15803/ijnc.7.1_69