login
A115819
Integers n such that 4*n XOR 15*n = 19*n.
1
0, 5, 10, 13, 20, 26, 37, 40, 52, 69, 74, 77, 80, 104, 138, 141, 148, 154, 160, 205, 208, 276, 282, 293, 296, 308, 320, 410, 416, 431, 549, 552, 564, 581, 586, 589, 592, 616, 640, 645, 820, 832, 862, 1093, 1098, 1101, 1104, 1128, 1162, 1165, 1172, 1178
OFFSET
1,2
MATHEMATICA
Select[Range[0, 1200], BitXor[4#, 15#]==19#&] (* Harvey P. Dale, Oct 30 2013 *)
PROG
(PARI) is(n)=bitxor(4*n, 15*n)==19*n \\ Charles R Greathouse IV, Sep 25 2024
CROSSREFS
Cf. A003987 (XOR), A115820 (shows this sequence in binary).
Sequence in context: A313440 A313441 A313442 * A313443 A313444 A313445
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 01 2006
STATUS
approved