- 1

You are given an array of N numbers

You are given an array of N numbers Programming Medium Function Description Your task is to find the total number of ways to divide the array into one or more subarrays such that the gcd (greatest common divisor) of the product of mut greater than 1 Since the result can be very large rotum the result modulo 10^9+7

23rd Oct 2021, 7:44 AM
charan raj
1 Answer
+ 2
charan raj Is this homework? Please post your attempt with this question and tag the language being used.
23rd Oct 2021, 8:36 AM
Rik Wittkopp
Rik Wittkopp - avatar