for some integers a