You are given two integers n and maxValue.
An array arr of length n is called ideal if:
Every element satisfies arr[i] maxValue for all i n.
For every index i such that i n, arr[i] is divisible by arr[i - 1].
Return the total number of distinct ideal arrays of length n. Since the answer may be very large, return it modulo
Constraints:
n
maxValue
You are given two integers n and maxValue.
An array arr of length n is called ideal if:
Every element satisfies arr[i] maxValue for all i n.
For every index i such that i n, arr[i] is divisible by arr[i - 1].
Return the total number of distinct ideal arrays of length n. Since the answer may be very large, return it modulo
Constraints:
n
maxValue