138k views
2 votes
F(n)

{n/2 if n is even

{3n+1 if n is odd

2 Answers

4 votes

Answer:

Isn't this the Collatz Conjunction

Explanation:

User Markus Strauss
by
6.1k points
2 votes

Answer: N → N/2 ( if N is even) N → 3N + 1 (if N is odd) i.e. If N is even, divide it by 2 to get N/2. If N is odd, multiply it by 3 and add 1 to obtain 3N + 1. It is conjectured but not yet proven that no matter which positive integer we start with; we always end up with 1

User Mark Fitzpatrick
by
5.9k points