login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A178734 a(n) = n XOR 8n, where XOR is bitwise XOR. 7

%I #9 Jun 30 2022 08:39:37

%S 0,9,18,27,36,45,54,63,72,65,90,83,108,101,126,119,144,153,130,139,

%T 180,189,166,175,216,209,202,195,252,245,238,231,288,297,306,315,260,

%U 269,278,287,360,353,378,371,332,325,350,343,432,441,418,427,404,413,390

%N a(n) = n XOR 8n, where XOR is bitwise XOR.

%t f[n_] := BitXor[n, 8 n]; Array[f, 60, 0] (* _Robert G. Wilson v_, Jun 09 2010 *)

%o (Python)

%o def A178734(n): return n^ n<<3 # _Chai Wah Wu_, Jun 29 2022

%Y Cf. A048724, A178729, A048725, A178731, A178732, A178733, A178735, A178736. - _Robert G. Wilson v_, Jun 09 2010

%K nonn

%O 0,2

%A _Dmitry Kamenetsky_, Jun 08 2010

%E a(30) onwards from _Robert G. Wilson v_, Jun 09 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 19 09:52 EDT 2024. Contains 376008 sequences. (Running on oeis4.)