Using both analytic and elementary methods, this book presents many old and new theorems, including several of the authors' results, and many examples of extremal behaviour of g-number systems. The authors also give detailed accounts of the $L^2$ PNT theorem of J.P. Kahane and of the example created with H.L. Montgomery, showing that additive structure is needed for proving the Riemann hypothesis.