login
A115829
Integers i such that 10*i XOR 11*i = 21*i.
2
0, 3, 6, 12, 24, 48, 96, 192, 195, 384, 387, 390, 768, 771, 774, 780, 1536, 1539, 1542, 1548, 1560, 2979, 3072, 3075, 3078, 3084, 3096, 3120, 5958, 6144, 6147, 6150, 6156, 6168, 6192, 6240, 11916, 11939, 12288, 12291, 12294, 12300, 12312, 12336, 12384, 12480
OFFSET
0,2
COMMENTS
XOR is A003987.
Differs from A115805 for the first time at n = 21, where A115805(21) = 3072 while a(21) = 2979.
MATHEMATICA
Select[Range[0, 20000], BitXor[10*#, 11*#] == 21*# &] (* Paolo Xausa, Sep 29 2024 *)
PROG
(PARI) is(n)=bitxor(10*n, 11*n)==21*n \\ Charles R Greathouse IV, Sep 25 2024
CROSSREFS
Cf. A003987, A115805, A115830 (shows this sequence in binary).
Sequence in context: A033893 A006851 A164352 * A115805 A356040 A164696
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 01 2006
STATUS
approved