Both n and m divide b2p−1, hence so does N=nm after checking gcd(n,m)=1 under the hypothesis. Also n≡p(modb−1) and the elementary factorization gives N≡1(mod2p); part (a) with k=2p applies. As odd primes p grow, N grows, yielding infinitely many examples.