login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)