Problem 44035. determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers109
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1801 Solvers
-
616 Solvers
-
Number of 1s in a binary string
8714 Solvers
-
387 Solvers
-
955 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!