A356166 Greatest common divisor of n and the smallest positive k such that n divides k*A003961(k), where A003961 is fully multiplicative with a(p) = nextprime(p).
1, 2, 1, 4, 1, 2, 1, 8, 1, 2, 1, 4, 1, 2, 3, 16, 1, 2, 1, 4, 1, 2, 1, 8, 1, 2, 1, 4, 1, 6, 1, 32, 1, 2, 5, 4, 1, 2, 1, 8, 1, 2, 1, 4, 3, 2, 1, 16, 1, 2, 1, 4, 1, 2, 1, 8, 1, 2, 1, 12, 1, 2, 1, 64, 1, 2, 1, 4, 1, 10, 1, 8, 1, 2, 3, 4, 7, 2, 1, 16, 1, 2, 1, 4, 1, 2, 1, 8, 1, 6, 1, 4, 1, 2, 1, 32, 1, 2, 1, 4, 1, 2, 1, 8, 5
Offset: 1