A115823 Integers i such that 8*i XOR 13*i = 21*i.
0, 3, 5, 6, 10, 12, 20, 21, 24, 40, 41, 42, 48, 79, 80, 82, 84, 85, 96, 158, 160, 163, 164, 168, 169, 170, 192, 195, 316, 320, 323, 325, 326, 328, 329, 335, 336, 338, 340, 341, 384, 387, 389, 390, 632, 633, 640, 643, 645, 646, 650, 652, 656, 658, 670, 672, 675
Offset: 0
Crossrefs
Programs
-
Mathematica
Select[Range[0,700],BitXor[8#,13#]==21#&] (* Harvey P. Dale, May 02 2012 *)
-
PARI
is(n)=bitxor(8*n, 13*n)==21*n \\ Charles R Greathouse IV, Sep 25 2024
Extensions
Definition corrected by Harvey P. Dale, May 02 2012