I have to do the following question
Consider the semidihedral group $$QD_{16} = \langle\sigma, \tau|\sigma^8=\tau^2=1, \sigma \tau = \tau \sigma^3\rangle$$ This group has three subgroups: $\langle\sigma, \tau\rangle \cong D_8, \langle\sigma\rangle \cong Z_8,$ and $\langle\sigma^2, \sigma \tau\rangle \cong Q_8.$ Every proper subgroup of $QD_{16}$ is a subgroup of one of these three subgroups. Draw the subgroup lattice for $QD_{16}$.
My strategy was to draw subgroup lattices for $D_8$, $Z_8$, and $Q_8$. Then, (for example) for each subgroup in $Q_8$, I tried to find a corresponding subgroup in $\langle\sigma^2, \sigma \tau\rangle \cong Q_8.$ Thus, at the end, my lattice for $QD_{16}$ looked pretty much like the lattices of $D_8$, $Q_8, Z_8$ put next to each other to each other, except they were of course all connected at the top to $G$ and at the bottom to $\langle 1\rangle$. Is this the correct strategy, or am I potentially missing some subgroups?
Here is a sage code showing the (information on the subgroups, and the needed) lattice.
The above $15$ subgroups are denoted simply by $0,1,2,\dots, 14$. We build the oriented graph.
... and the di(rected )graph for the above
labelsandedgesis:And the tree is (with the root on the right side, corresponding to the full group, and the leaf on the left side, corresponding to its trivial subgroup):
The labels correspond to the index in the list of the groups, as listed above. The positions were chosen to reflect the orders in vertical levels. The level of groups of order four was splitted in two sublevels corresponding to the structure $C_2\times C_2$ (two cases, labels $6,7$), and respectively $C_4$, three cases, $8,9,10$.
The only arrows that need a check are those passing (or missing) from order $8$ to order $4$. The checks can be done by using the explicit generators.
If this kind of enumerative answer supported by computer (as typing resource rather) is not wanted, please ignore.