Problem 69. Find the peak 3n+1 sequence value
Solution Stats
Problem Comments
-
10 Comments
Nice one
Good problem!
good.
If you want to add more tests: https://oeis.org/A006884 and https://oeis.org/A006885 contain the relevant sequences.
Why the leading solution size is 0 ? Is it for everyone or just me
@Tanzil Parvez (Emon): the hack solutions (hopefully all) have been deleted from this problem.
Wrong test cases! I checked on internet and found all the test cases except case 1 are wrong.
The test cases are all correct. You have simply not understood what the question is asking.
Broken link in description.
Link has been updated.
Solution Comments
Show commentsProblem Recent Solvers1971
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
44772 Solvers
-
Program an exclusive OR operation with logical operators
693 Solvers
-
Back to basics 21 - Matrix replicating
1412 Solvers
-
Find the maximum number of decimal places in a set of numbers
2154 Solvers
-
1105 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!