login
Integers i such that 2*i XOR 7*i = 9*i.
1

%I #9 Sep 25 2024 20:54:03

%S 0,7,14,28,39,55,56,78,110,112,156,167,220,224,295,311,312,334,439,

%T 440,448,455,590,622,624,668,679,878,880,896,903,910,1180,1191,1244,

%U 1248,1319,1335,1336,1358,1756,1760,1792,1799,1806,1820,2343,2359

%N Integers i such that 2*i XOR 7*i = 9*i.

%C XOR is A003987.

%H <a href="/index/Con#CongruXOR">Index entries for sequences defined by congruent products under XOR</a>

%t Select[Range[0,2500],BitXor[2*# ,7*#] == 9*#&] (* _Harvey P. Dale_, May 28 2016 *)

%o (PARI) is(n)=bitxor(2*n, 7*n)==9*n \\ _Charles R Greathouse IV_, Sep 25 2024

%Y Cf. A115816 shows this sequence in binary.

%K nonn,changed

%O 0,2

%A _Antti Karttunen_, Feb 01 2006