f(n)\equiv q