login
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