had to step away for a while… Yes and no. Im looking at it was a spiral within a spiral, the large spiral is all positive integers with all square numbers lining up on a plane, which we could call the x axis. Second spiral is also all positive integers but its 0 starts relative to our subprimes location on the big spiral.
It is structured the same, all square numbers line up on our 'x axis' and the numbers for each spiral increase normally, i.e. increments of 1, and the distance between squares on either spiral increases by 2x+1 where x is the root of the last square. when the small spiral has a square number at the same time that the large one does you can find your answer via root(large square - subprime) + root of large square.
this works with any subprime, but without a way to calculate our 'intercept', which i believe is possible, it still requires brute force.
I guess you could consider my approach turning it into a 2d word problem