Problem 45495. Number of o rderd pairs of integers (I,J) that can be formed.
Write a MATLAB function that calculates the number of ordered pairs of integers (I, J) that can be formed satisfying the condition 1<=I<=J<=N, for a given value of N.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers35
Suggested Problems
-
Find the sum of the elements in the "second" diagonal
1198 Solvers
-
Find the largest value in the 3D matrix
1656 Solvers
-
1245 Solvers
-
Find difference of two set as per example
87 Solvers
-
Replace every 3rd element in a vector with 4
263 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!