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!)
A115454 Composite positive integers written in base 2. 3

%I #18 Aug 17 2018 09:24:09

%S 100,110,1000,1001,1010,1100,1110,1111,10000,10010,10100,10101,10110,

%T 11000,11001,11010,11011,11100,11110,100000,100001,100010,100011,

%U 100100,100110,100111,101000,101010,101100,101101,101110,110000,110001

%N Composite positive integers written in base 2.

%C If n is in the sequence then so is 10 * n. - _David A. Corneth_, Aug 17 2018

%H Robert Israel, <a href="/A115454/b115454.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A007088(A002808(n)).

%p map(convert,remove(isprime, [$4..200]),binary); # _Robert Israel_, Aug 17 2018

%t For[n = 2, n < 50, n++, If[Not[PrimeQ[n]], Print[BaseForm[n, 2]]]] (* _Stefan Steinerberger_, Jan 24 2006 *)

%o (PARI) lista(nn) = forcomposite(n=1, nn, print1(fromdigits(binary(n), 10), ", ")); \\ _Michel Marcus_, Aug 17 2018

%Y Cf. A002808, A007088, A004676.

%K base,nonn

%O 1,1

%A _Leroy Quet_, Jan 22 2006

%E More terms from _Stefan Steinerberger_, Jan 24 2006

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 19 03:30 EDT 2024. Contains 371782 sequences. (Running on oeis4.)