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 Solvers31
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6162 Solvers
-
2495 Solvers
-
Return the first and last characters of a character array
9486 Solvers
-
438 Solvers
-
851 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!