if given input is 1, output is 4. if input is 55, output is 3136.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers91
Suggested Problems
-
Return the 3n+1 sequence for n
8487 Solvers
-
Getting the indices from a vector
11783 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1258 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
159 Solvers
-
Matrix of almost all zeros, except for main diagonal
190 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!