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!)
A178731 a(n) = n XOR 5n, where XOR is bitwise XOR. 7
0, 4, 8, 12, 16, 28, 24, 36, 32, 36, 56, 60, 48, 76, 72, 68, 64, 68, 72, 76, 112, 124, 120, 100, 96, 100, 152, 156, 144, 140, 136, 132, 128, 132, 136, 140, 144, 156, 152, 228, 224, 228, 248, 252, 240, 204, 200, 196, 192, 196, 200, 204, 304, 316, 312, 292, 288, 292 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
f[n_] := BitXor[n, 5 n]; Array[f, 60, 0] (* Robert G. Wilson v, Jun 09 2010 *)
PROG
(Magma) [BitwiseXor(n, 5*n): n in [0..70]]; // Vincenzo Librandi, Jul 11 2017
(PARI) a(n) = bitxor(n, 5*n); \\ Michel Marcus, Jul 11 2017
CROSSREFS
Sequence in context: A045783 A316712 A261650 * A334386 A071072 A175670
KEYWORD
nonn
AUTHOR
Dmitry Kamenetsky, Jun 08 2010
EXTENSIONS
a(30) onwards from Robert G. Wilson v, Jun 09 2010
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 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)