Skip to main content

The 3n + 1 Problem or Collatz Problem

The 3n + 1 Problem, also known as the 3n + 1 Conjecture or Collatz Problem or Collatz Conjecture, is that if any positive integer is iteratively operated using two simple rules: Addition and Division, then the end-result always leads to the number 1.

The Rules

Rule 1 [Addition]: If the number n is odd, then triple it and add 1.

Rule 2 [Division]: If the number n is even, then divide it by 2.

Steps to Follow

Step 1: Take any positive integer n.

Step 2: Check whether the integer is odd or even.

Step 3: If the integer is odd, then triple it and add 1.

Step 4: If the integer is even, then divide it by 2.

Step 5: Repeat this procedure.

Step 6: The end-result always leads to the number 1.

For Example

Integer n = 5

5 is an odd number, so triple it and add 1. The value of n = 16.

16 is an even number, so divide it by 2. The value of n = 8.

8 is an even number, so divide it by 2. The value of n = 4.

4 is an even number, so divide it by 2. The value of n = 2.

2 is an even number, so divide it by 2. The value of n = 1.

The sequence of the integer 5 is: 5, 16, 8, 4, 2, 1.

As you can see here, the end-result leads to the number 1.

Integer n = 9

9 is an odd number, so triple it and add 1. The value of n = 28.

28 is an even number, so divide it by 2. The value of n = 14.

14 is an even number, so divide it by 2. The value of n = 7.

7 is an odd number, so triple it and add 1. The value of n = 22.

22 is an even number, so divide it by 2. The value of n = 11.

11 is an odd number, so triple it and add 1. The value of n = 34.

34 is an even number, so divide it by 2. The value of n = 17.

17 is an odd number, so triple it and add 1. The value of n = 52.

52 is an even number, so divide it by 2. The value of n = 26.

26 is an even number, so divide it by 2. The value of n = 13.

13 is an odd number, so triple it and add 1. The value of n = 40.

40 is an even number, so divide it by 2. The value of n = 20.

20 is an even number, so divide it by 2. The value of n = 10.

10 is an even number, so divide it by 2. The value of n = 5.

5 is an odd number, so triple it and add 1. The value of n = 16.

16 is an even number, so divide it by 2. The value of n = 8.

8 is an even number, so divide it by 2. The value of n = 4.

4 is an even number, so divide it by 2. The value of n = 2.

2 is an even number, so divide it by 2. The value of n = 1.

The sequence of the integer 9 is: 9, 28, 14, 7, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1.

As you can see here, the end-result leads to the number 1.

Hope you have understood this amazing concept of the 3n + 1 Problem or Collatz Problem. You can try yourself using any other positive integer n. In case of any issue, kindly provide your valuable comments.

Comments

Post a Comment

Popular posts from this blog

Dudeney Number

Dudeney number is a positive integer that is equal to the cube of the sum of all its digits. Checking a Dudeney Number Step 1 : Consider any number. Step 2 : Sum all its digits. Step 3 : Cube the number obtained in Step 2. If the number obtained in Step 3 is equal to the number considered in Step 1, it is a Dudeney number. But if the number obtained in Step 3 is not equal to the number considered in Step 1, it is not a Dudeney number. Examples Example 1 Step 1 : Consider number 0. Step 2 : Sum all its digits. The resultant is 0. Step 3 : Cube the number 0 obtained in Step 2 => 0 3 => 0 x 0 x 0. The resultant is 0. The number obtained in Step 3 is equal to the number considered in Step 1, hence 0 is a Dudeney number. Example 2 Step 1 : Consider number 1. Step 2 : Sum all its digits. The resultant is 1. Step 3 : Cube the number 1 obtained in Step 2 => 1 3 => 1 x 1 x 1. The resultant is 1. The number obtained in Step 3 is equal to the number considered in Step 1, hence 1 i...

Universe Secret Code 369 Theory

When it comes to the origin of the universe secret code 369 theory, one name associated with this amazing concept is ‘Nikola Tesla’. Nikola Tesla [10 July 1856 – 07 January 1943] was not only a great inventor / scientist, but also the greatest mind of all the time. He has done a plenty of research throughout his life, and highly recognized for his contributions towards the following : High Voltage, High Frequency Power Experiments Alternating Current (AC) Electricity Supply System Apart from the above-mentioned contributions, he has given ‘Universe Secret Code 369 Theory’ and has called the number 369 – the key to the universe. Now the question that will come to the curious minds is that why Nikola Tesla has called this number the key to the universe. The answer to this question is described in this post. Let start with a specific pattern as shown below: 1 1 + 1 => 2 2 + 2 => 4 4 + 4 => 8 8 + 8 => 16; 1 + 6 => 7 16 + 16 => 32; 3 + 2 => 5 >>>>>>...

The RATS Sequence

In Mathematics, one of the amazing concepts is the Reverse-Add-Then-Sort (RATS) Sequence. The RATS Sequence is a sequence that is formed by reversing , adding , then sorting the digits. Let's understand this concept in detail: Form the RATS Sequence Step 1 : Consider any number (must be greater than 0). Step 2 : Reverse the number. Step 3 : Add the original number (considered in Step 1) with the number formed by reversing the number (in Step 2). Step 4 : Sort the number obtained in Step 3 in ascending order. The resultant obtained after sorting the number forms the next sequence after n iteration. Examples First Iteration Step 1 : Number 1 . Step 2 : Reversing the number 1  gives the resultant  1 . Step 3 : Adding the original number 1 (considered in Step 1) with the number formed by reversing (in Step 2)  i.e. 1 gives the resultant 2 . Step 4 : Sorting the number obtained in Step 3 in ascending order gives the resultant 2 . Here number 2 forms the next sequence after...