login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A161398
a(n) = the smallest divisor of n that contains the same number of 1's as n when both numbers are written in binary.
2
1, 1, 3, 1, 5, 3, 7, 1, 3, 5, 11, 3, 13, 7, 15, 1, 17, 3, 19, 5, 7, 11, 23, 3, 25, 13, 27, 7, 29, 15, 31, 1, 3, 17, 7, 3, 37, 19, 39, 5, 41, 7, 43, 11, 15, 23, 47, 3, 7, 25, 51, 13, 53, 27, 55, 7, 57, 29, 59, 15, 61, 31, 63, 1, 5, 3, 67, 17, 69, 7, 71, 3, 73, 37, 15, 19, 77, 39, 79, 5, 81
OFFSET
1,3
CROSSREFS
Cf. A161399.
Sequence in context: A217663 A078701 A299766 * A204455 A318653 A161820
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Jun 09 2009
EXTENSIONS
More terms from Sean A. Irvine, Oct 22 2009
STATUS
approved