Problem 51002. Deduce the pattern behind the sequence
Here's a sequence.
Tricky? Not!
You'll deduce it
From this plot.
If the plot gives
You the blues,
The test suite should
Provide some clues.
Feeling anxious?
You'll be fine.
The code I wrote
Is one short line.
Solution Stats
Problem Comments
-
1 Comment
Augusto Mazzei
on 15 Mar 2023
like for the poem!
Solution Comments
Show commentsProblem Recent Solvers26
Suggested Problems
-
Return the 3n+1 sequence for n
8477 Solvers
-
Lychrel Number Test (Inspired by Project Euler Problem 55)
110 Solvers
-
192 Solvers
-
94 Solvers
-
2236 Solvers
More from this Author319
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!