|
|
A261807
|
|
a(n) = n XOR n^3.
|
|
2
|
|
|
0, 0, 10, 24, 68, 120, 222, 336, 520, 720, 994, 1336, 1740, 2200, 2742, 3360, 4112, 4896, 5850, 6872, 8020, 9272, 10638, 12176, 13848, 15632, 17586, 19704, 21980, 24408, 26982, 29760, 32800, 35904, 39338, 42840, 46692, 50680, 54910, 59280, 64040, 68880, 74050, 79544
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
XOR the binary representations of n and n^3.
|
|
LINKS
|
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
(Python)
for n in range(55): print(str(n ^ n*n*n), end=", ")
(PARI) first(m)=vector(m, i, i--; bitxor(i, i^3)) \\ Anders Hellström, Sep 01 2015
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|