login
Integers n such that 4*n XOR 15*n = 19*n.
1

%I #18 Sep 30 2024 12:52:54

%S 0,5,10,13,20,26,37,40,52,69,74,77,80,104,138,141,148,154,160,205,208,

%T 276,282,293,296,308,320,410,416,431,549,552,564,581,586,589,592,616,

%U 640,645,820,832,862,1093,1098,1101,1104,1128,1162,1165,1172,1178

%N Integers n such that 4*n XOR 15*n = 19*n.

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

%t Select[Range[0,1200],BitXor[4#,15#]==19#&] (* _Harvey P. Dale_, Oct 30 2013 *)

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

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

%K nonn

%O 1,2

%A _Antti Karttunen_, Feb 01 2006