Nested Radicals (noch nicht übersetzt)

Problem 880

(x,y) is called a nested radical pair if x and y are non-zero integers such that xy is not a cube of a rational number, and there exist integers a, b and c such that:

3x+3y=3a+3b+3c

For example, both (4,125) and (5,5324) are nested radical pairs:

34+3125=31+32+3435+35324=32+320+325

Let H(N) be the sum of |x|+|y| for all the nested radical pairs (x,y) where |x||y|N.
For example, H(103)=2535.

Find H(1015). Give your answer modulo 10313+2.