Problem 59506. Compute the determinant of a divisibility matrix

Consider a matrix consisting of ones in the first column and anywhere the row index divides the column index. The 4x4 matrix is [1 1 1 1; 1 1 0 1; 1 0 1 0; 1 0 0 1]. The 1000x1000 matrix is depicted below.
Write a function to compute the determinant of these matrices, given an array of sizes.

Solution Stats

100.0% Correct | 0.0% Incorrect
Last Solution submitted on Jan 02, 2024

Solution Comments

Show comments

Problem Recent Solvers4

Suggested Problems

More from this Author269

Community Treasure Hunt

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

Start Hunting!