Modular forms arising from Q(n) and Dyson's rank