The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A004753 Numbers whose binary expansion contains 100. 13
4, 8, 9, 12, 16, 17, 18, 19, 20, 24, 25, 28, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 44, 48, 49, 50, 51, 52, 56, 57, 60, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 88, 89, 92, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Sep 24 2012
MATHEMATICA
Select[Range[110], MemberQ[Partition[IntegerDigits[#, 2], 3, 1], {1, 0, 0}]&] (* Harvey P. Dale, Mar 14 2014 *)
PROG
(Haskell)
a004753 n = a004753_list !! (n-1)
a004753_list = filter f [0..] where
f 0 = False; f x = x `mod` 4 == 0 || f (x `div` 2)
-- Reinhard Zumkeller, Oct 27 2011
(PARI) is(n)=n=binary(n); for(i=3, #n, if(n[i-2]&&!n[i]&&!n[i-1], return(1))); 0 \\ Charles R Greathouse IV, Sep 24 2012
(PARI) is(n)=while(n>3, if(bitand(n, 7)==4, return(1)); n>>=1); 0 \\ Charles R Greathouse IV, Feb 11 2017
CROSSREFS
Complement of A003754.
Subsequence of A247875.
Sequence in context: A359783 A359829 A221865 * A144794 A047462 A020671
KEYWORD
nonn,easy
AUTHOR
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 May 16 03:59 EDT 2024. Contains 372549 sequences. (Running on oeis4.)