login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A265852
n such that A261807(n) = n^3 - n.
1
0, 1, 3, 5, 7, 9, 15, 17, 31, 33, 35, 39, 41, 63, 65, 67, 79, 81, 103, 105, 127, 129, 131, 133, 135, 143, 145, 159, 161, 163, 169, 231, 255, 257, 259, 261, 265, 287, 289, 319, 321, 323, 359, 391, 399, 401, 419, 425, 511, 513, 515, 517, 519, 527, 543, 545
OFFSET
1,3
COMMENTS
n such that the base-2 representation of n^3 has a 1 whenever the representation of n has a 1.
All terms after the first are odd.
Contains A083318 and A000225.
LINKS
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
Cf. A261807.
Sequence in context: A235264 A064896 A076188 * A335132 A343727 A340559
KEYWORD
nonn,base
AUTHOR
Robert Israel, Dec 16 2015
STATUS
approved