Problem 45495. Number of o rderd pairs of integers (I,J) that can be formed.

Solution 2257670

Submitted on 6 May 2020 by Michael
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
N = 100; y_correct = 5050; assert(isequal(number_of_pairs(N),y_correct))

Suggested Problems

More from this Author2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!