The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

A161397

a(n) = the smallest positive integer that contains the same number of (non-leading) 0's as n when a(n) and n are written in binary, is not coprime to n, and is not a divisor of n.