You can keep two or more together if the tank is large enought (envision one of those huge 1000 gallon round aquaculture tanks for some octopus) you need to have atleast one male and one female. Also, the fact that you asked if octopus eat their young tells me that you need to do a lot more research, since octopus are excellent parents and die after their young hatch.