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.

This page as a plain text file.
%I A261808 #9 Sep 01 2015 16:13:09
%S A261808 0,1,5,8,17,37,48,65,257,288,1025,1088,2305,4097,4224,4357,9217,12320,
%T A261808 16385,16640,20737,25920,36865,50624,65537,66048,147457,229440,262145,
%U A261808 263168,264197,295937,589825,1048577,1050624,1052677,2166785,2359297,4194305,4198400,4202501
%N A261808 Numbers n such that n^2 XOR n^3 is a square, where XOR is the bitwise XOR operator.
%t A261808 Select[Range[0, 100000], IntegerQ@ Sqrt@ BitXor[#^2, #^3] &] (* _Michael De Vlieger_, Sep 01 2015 *)
%o A261808 (PARI) is(n)=issquare(bitxor(n^2,n^3)) \\ _Anders Hellström_, Sep 01 2015
%Y A261808 Cf. A221643.
%K A261808 nonn,base
%O A261808 1,3
%A A261808 _Alex Ratushnyak_, Sep 01 2015