Problem 44100. Input & Output "Smart One"
If i give my secret function a x value as input the result will be y value as output. Examples:
input: x=6 ----->>> output: y= 12
input: x=111 ----->>> output: y= 112
Nb: *Test Suite are inputs and outputs so don't submit an answer without refer to them
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 29 Oct 2020
Tip: primes.
Solution Comments
Show commentsProblem Recent Solvers16
Suggested Problems
-
Find the peak 3n+1 sequence value
2543 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
547 Solvers
-
Make a random, non-repeating vector.
10611 Solvers
-
Generate N equally spaced intervals between -L and L
919 Solvers
-
Flip the vector from right to left
10253 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!