GCD of i,j,k,l in a range 1 to n where i<j<k<l

Revision en1, by onceincentury, 2019-06-23 20:38:41

Hi,Today I came across one problem in hackerearth live contest,and I am confused that what is topic of this problem,I don't want solution I just want to which topic is of question.

Question: We have four number p,q,r,s Where all numbers can be in range from 1 to N. But p<q<r<s so we have to find sum of all possible pair's gdc(p,q,r,s).

Thank you.


  Rev. Lang. By When Δ Comment
en2 English onceincentury 2019-06-23 20:44:08 13 Tiny change: 'er p,q,r,s\nWhere al' -> 'er p,q,r,s and N<=10000\nWhere al'
en1 English onceincentury 2019-06-23 20:38:41 404 Initial revision (published)