[go: up one dir, main page]

login
A115821
Integers i such that 6*i XOR 15*i = 21*i.
2
0, 3, 6, 11, 12, 22, 24, 35, 43, 44, 47, 48, 70, 86, 88, 91, 94, 96, 139, 140, 171, 172, 175, 176, 182, 188, 192, 195, 278, 280, 291, 342, 344, 347, 350, 352, 363, 364, 376, 384, 387, 390, 547, 555, 556, 559, 560, 582, 683, 684, 687, 688, 694, 700, 704, 707
OFFSET
0,2
COMMENTS
XOR is A003987.
MATHEMATICA
Select[Range[0, 1000], BitXor[6*#, 15*#] == 21*# &] (* Paolo Xausa, Sep 30 2024 *)
PROG
(PARI) is(n)=bitxor(6*n, 15*n)==21*n \\ Charles R Greathouse IV, Sep 25 2024
CROSSREFS
Cf. A003987, A115822 (shows this sequence in binary).
Sequence in context: A353716 A178890 A332933 * A115767 A058269 A342273
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 01 2006
STATUS
approved