So the wormhole is in Room 24; you'd need to do a trick in Room 23 to get over to it. If you want me to directly spoil how to get there, I will, but for now I'll let you try to figure it out.
I'm really sorry, but is room 23 actually located to the right of room 22? I've been scaning around room 22 for hours since I figured out the room numbering rules, but I can't figure out how to get to the right from room 22. I even went to room 30.