For a few years, I've planted potatoes next to squash. Well, maybe 3-4 feet between the beds, and probably 6-8 feet from a potato plant to the squash hill. I like having them there, as it's a big flat area and I can let the vines sprawl, and dig the potatoes without messing up a raised bed (my RBs are just mounded). I also liked having the squash where they were, as there are some huge boulders about 8-12" down. The squash can grow there, but not root crops.
I just read that taters and squash shouldn't be planted next to each other, so I was wondering if their "not getting along" is why I had fewer potatoes and zero squash last year.