Question:
1-Let $a,b$ be integers having the property that for any prime power $t$ there exists an integer $v_t$ such that $$ b\equiv a^{v_t}\pmod t. $$ Then there exists an integer $v$ such that $$ b=a^v. $$
2-Does it hold with $t$ being primes not prime powers?
thanks!