login
A261808
Numbers n such that n^2 XOR n^3 is a square, where XOR is the bitwise XOR operator.
0
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,3
MATHEMATICA
Select[Range[0, 100000], IntegerQ@ Sqrt@ BitXor[#^2, #^3] &] (* Michael De Vlieger, Sep 01 2015 *)
PROG
(PARI) is(n)=issquare(bitxor(n^2, n^3)) \\ Anders Hellström, Sep 01 2015
CROSSREFS
Cf. A221643.
Sequence in context: A212115 A091625 A027601 * A057592 A246638 A192170
KEYWORD
nonn,base
AUTHOR
Alex Ratushnyak, Sep 01 2015
STATUS
approved