login
Integers i such that 6*i XOR 15*i = 21*i.
2

%I #13 Sep 30 2024 03:21:36

%S 0,3,6,11,12,22,24,35,43,44,47,48,70,86,88,91,94,96,139,140,171,172,

%T 175,176,182,188,192,195,278,280,291,342,344,347,350,352,363,364,376,

%U 384,387,390,547,555,556,559,560,582,683,684,687,688,694,700,704,707

%N Integers i such that 6*i XOR 15*i = 21*i.

%C XOR is A003987.

%H Paolo Xausa, <a href="/A115821/b115821.txt">Table of n, a(n) for n = 0..10000</a>

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

%t Select[Range[0, 1000], BitXor[6*#, 15*#] == 21*# &] (* _Paolo Xausa_, Sep 30 2024 *)

%o (PARI) is(n)=bitxor(6*n, 15*n)==21*n \\ _Charles R Greathouse IV_, Sep 25 2024

%Y Cf. A003987, A115822 (shows this sequence in binary).

%K nonn

%O 0,2

%A _Antti Karttunen_, Feb 01 2006