login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099249 Number of numbers not greater than n such that length in binary representation and number of ones are coprime. 3
1, 2, 2, 3, 4, 5, 5, 6, 6, 6, 7, 7, 8, 9, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 28, 28, 29, 30, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Number of numbers m<=n such that A099244(m) = 1.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

Index entries for sequences related to binary expansion of n

FORMULA

a(n) = sum(A063524(A099244(k)): k=1..n). - Reinhard Zumkeller, Oct 10 2013

PROG

(Haskell)

a099249 n = a099249_list !! (n-1)

a099249_list = scanl1 (+) $ map ((0 ^) . (subtract 1)) a099244_list

-- Reinhard Zumkeller, Oct 10 2013

CROSSREFS

Cf. A099247, A070939, A000120, A007088.

Sequence in context: A243285 A085972 A136378 * A050296 A057062 A283993

Adjacent sequences:  A099246 A099247 A099248 * A099250 A099251 A099252

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Oct 08 2004

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 23 18:54 EST 2018. Contains 299586 sequences. (Running on oeis4.)