How to combine two sets bound by equations

81 Views Asked by At

Sorry if this is worded oddly.

I have a set [27n+12] ie. [12,39,66,...] and another set [9n+5] ie. [5,14,23,32,...]

Is there a way to combine these two sets into a single set bound by 1 simple equation easily?

[?] ie. [5,12,14,23,32,...]