A115829 Integers i such that 10*i XOR 11*i = 21*i.
0, 3, 6, 12, 24, 48, 96, 192, 195, 384, 387, 390, 768, 771, 774, 780, 1536, 1539, 1542, 1548, 1560, 2979, 3072, 3075, 3078, 3084, 3096, 3120, 5958, 6144, 6147, 6150, 6156, 6168, 6192, 6240, 11916, 11939, 12288, 12291, 12294, 12300, 12312, 12336, 12384, 12480
Offset: 0
Keywords
Programs
-
Mathematica
Select[Range[0, 20000], BitXor[10*#, 11*#] == 21*# &] (* Paolo Xausa, Sep 29 2024 *)
-
PARI
is(n)=bitxor(10*n, 11*n)==21*n \\ Charles R Greathouse IV, Sep 25 2024
Comments