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!)
A059011 Odd number of 0's and 1's in binary expansion. 3
2, 8, 11, 13, 14, 32, 35, 37, 38, 41, 42, 44, 47, 49, 50, 52, 55, 56, 59, 61, 62, 128, 131, 133, 134, 137, 138, 140, 143, 145, 146, 148, 151, 152, 155, 157, 158, 161, 162, 164, 167, 168, 171, 173, 174, 176, 179, 181, 182, 185, 186, 188, 191, 193, 194, 196, 199 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
A071295(a(n)) is odd. - Reinhard Zumkeller, Aug 09 2014
MATHEMATICA
Select[Range[200], EvenQ[IntegerLength[#, 2]]&&OddQ[DigitCount[#, 2, 1]]&] (* Harvey P. Dale, Oct 16 2012 *)
PROG
(PARI) is(n)=hammingweight(n)%2 && hammingweight(bitneg(n, #binary(n)))%2 \\ Charles R Greathouse IV, Mar 26 2013
(Haskell)
a059011 n = a059011_list !! (n-1)
a059011_list = filter (odd . a071295) [0..]
-- Reinhard Zumkeller, Aug 09 2014
CROSSREFS
Sequence in context: A121715 A121714 A064611 * A287569 A216538 A077820
KEYWORD
nonn,easy
AUTHOR
Patrick De Geest, Dec 15 2000
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 24 08:21 EDT 2024. Contains 371926 sequences. (Running on oeis4.)