Problems in number theory related to aperiodic order