Skip to main content
1 of 2
volcanrb
  • 373
  • 1
  • 7

How can I find a list of points that satisfy constraints?

I understand how to make lists with the Select function and NestList, but these are only for one dimensional lists. Is it possible to make lists of all points that satisfy a constraint? For example, all points {x,y} that satisfy PrimeQ[x*y+1]==True .

Sorry if this is really amateur, I only recently started Mathematica and I'm trying to teach myself the functions.

volcanrb
  • 373
  • 1
  • 7