#P7517. [省选联考 2021 B 卷] 数对
[省选联考 2021 B 卷] 数对
Problem Description
Given positive integers , please find how many ordered pairs satisfy , , , and is a multiple of .
Input Format
The first line contains an integer , representing the number of integers.
The second line contains integers, representing .
Output Format
Output one line with one integer, representing the answer.
6
16 11 6 1 9 11
7
Hint
For of the testdata, .
For of the testdata, .
For of the testdata, , .
Translated by ChatGPT 5