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!)
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 (list; graph; refs; listen; history; text; internal format)
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

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 March 28 14:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)