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”).

A115831
Integers i such that 9*i XOR 16*i = 25*i.
1
0, 1, 2, 4, 5, 8, 10, 16, 20, 32, 33, 40, 64, 65, 66, 80, 128, 129, 130, 132, 133, 143, 160, 161, 256, 257, 258, 260, 261, 264, 266, 285, 286, 320, 321, 322, 512, 513, 514, 516, 517, 520, 522, 528, 532, 569, 570, 572, 573, 640, 641, 642, 644, 645, 655, 1024
OFFSET
0,3
COMMENTS
XOR is A003987.
MATHEMATICA
Select[Range[0, 1100], BitXor[9#, 16#]==25#&] (* Harvey P. Dale, Mar 22 2012 *)
PROG
(PARI) is(n)=bitxor(9*n, 16*n)==25*n \\ Charles R Greathouse IV, Sep 25 2024
CROSSREFS
Cf. A003987, A115832 (shows this sequence in binary).
Sequence in context: A133075 A018433 A228939 * A094958 A018565 A018391
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 01 2006
STATUS
approved