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.

A261808 Numbers n such that n^2 XOR n^3 is a square, where XOR is the bitwise XOR operator.

Original entry on oeis.org

0, 1, 5, 8, 17, 37, 48, 65, 257, 288, 1025, 1088, 2305, 4097, 4224, 4357, 9217, 12320, 16385, 16640, 20737, 25920, 36865, 50624, 65537, 66048, 147457, 229440, 262145, 263168, 264197, 295937, 589825, 1048577, 1050624, 1052677, 2166785, 2359297, 4194305, 4198400, 4202501
Offset: 1

Views

Author

Alex Ratushnyak, Sep 01 2015

Keywords

Crossrefs

Cf. A221643.

Programs

  • Mathematica
    Select[Range[0, 100000], IntegerQ@ Sqrt@ BitXor[#^2, #^3] &] (* Michael De Vlieger, Sep 01 2015 *)
  • PARI
    is(n)=issquare(bitxor(n^2,n^3)) \\ Anders Hellström, Sep 01 2015