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!)
A178895 a(n) = n OR 8n, where OR is bitwise OR. 8

%I #14 Jan 31 2021 20:06:56

%S 0,9,18,27,36,45,54,63,72,73,90,91,108,109,126,127,144,153,146,155,

%T 180,189,182,191,216,217,218,219,252,253,254,255,288,297,306,315,292,

%U 301,310,319,360,361,378,379,364,365,382,383,432,441,434,443,436,445,438

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

%C Perhaps this is a rearrangement of A114386?

%C No, e.g., a(513) = 4617 is not in A114386. Moreover, this sequence is not injective, as a(65) = a(73) = 585. - _Robert Israel_, Jan 31 2021

%H Robert Israel, <a href="/A178895/b178895.txt">Table of n, a(n) for n = 0..10000</a>

%p read("transforms"); for n from 0 to 120 do printf("%d,", ORnos(n,8*n) ) ; end do: # _R. J. Mathar_, Jun 26 2010

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

%Y Cf. A163617, A178890, A178891, A178892, A178893, A178894, A178896, A178897.

%K nonn,look

%O 0,2

%A _Dmitry Kamenetsky_, Jun 21 2010

%E More terms from _R. J. Mathar_ and _Robert G. Wilson v_, Jun 26 2010

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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)