cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A115829 Integers i such that 10*i XOR 11*i = 21*i.

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Feb 01 2006

Keywords

Comments

XOR is A003987.
Differs from A115805 for the first time at n = 21, where A115805(21) = 3072 while a(21) = 2979.

Crossrefs

Cf. A003987, A115805, A115830 (shows this sequence in binary).

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