collatz-problem

UVa 371. Ackermann Function

The underlying concepts of UVa 371: Ackermann Functions  have been discussed in great details in our post of Collatz problem. In this post, we simply outlines an ad-hoc algorithm as a solution

Collatz Problem a.k.a. 3n+1 Problem

This post focuses on Collatz problem, which is also known as, among others, the 3n+1 problem, and  the Syracuse problem. Outline. We begin by introducing Collatz conjecture; afterwards, we presents an algorithm