Maybe something like this:
We use the same Class as at the Overview-Page. Then we grap throug each Entry's Backlink's and save the Information in an Array like this:
$relations[$an_item] = array(
$page1 = 1, $page15 = 1, ...
);
Every Linked Page would have an 1 for true.