OFFSET
1,3
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
5 is in the sequence because A261807(5) = 120 = 5^3 - 5. The base-2 representations of 5 and 5^3 are 101 and 1111101, and every 1 in 101 corresponds to a 1 in 1111101.
MAPLE
select(t -> Bits[Xor](t, t^3) = t^3 - t, [$0..10000]);
PROG
(PARI) for(n=0, 1e3, if(bitxor(n, n^3) == n^3-n, print1(n, ", "))) \\ Altug Alkan, Dec 16 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert Israel, Dec 16 2015
STATUS
approved