login
A115815
Integers i such that 2*i XOR 7*i = 9*i.
1
0, 7, 14, 28, 39, 55, 56, 78, 110, 112, 156, 167, 220, 224, 295, 311, 312, 334, 439, 440, 448, 455, 590, 622, 624, 668, 679, 878, 880, 896, 903, 910, 1180, 1191, 1244, 1248, 1319, 1335, 1336, 1358, 1756, 1760, 1792, 1799, 1806, 1820, 2343, 2359
OFFSET
0,2
MATHEMATICA
Select[Range[0, 2500], BitXor[2*# , 7*#] == 9*#&] (* Harvey P. Dale, May 28 2016 *)
PROG
(PARI) is(n)=bitxor(2*n, 7*n)==9*n \\ Charles R Greathouse IV, Sep 25 2024
CROSSREFS
Cf. A003987 (XOR), A115816 (shows this sequence in binary).
Sequence in context: A089644 A178335 A158204 * A372665 A275241 A071711
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 01 2006
STATUS
approved