This is a very simple question on whether these three discrete groups $D_4$,$Q_8$,$(\mathbb{Z}_2)^3$ are subgroups of certain Lie groups.
More precisely, given discrete groups below (a), (b), (c):
(a) dihedral group of order 8: $D_4$,
(b) quaternion group of order 8: $Q_8$, and
(c) elementary group of order 8: $(\mathbb{Z}_2)^3$
can you find out a list of positive integer $n$ such that these three discrete groups respectively are being contained by:
(1) $\mathrm{SO}(n)$,
(2) $\mathrm{SU}(n)$,
(3) $\mathrm{Spin}(n)$,
(4) $\mathrm{SO}(n)\times\mathrm{SO}(n)$,
(5) $\mathrm{SU}(n)\times\mathrm{SU}(n)$.
Thank you very much!