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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099245 Numerator of relative frequency of number of ones in binary representation of n. 4
0, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 3, 1, 3, 3, 1, 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 2, 5, 1, 1, 1, 2, 1, 2, 2, 5, 1, 2, 2, 5, 2, 5, 5, 1, 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5, 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6, 2, 3, 3, 4, 3, 4, 4, 5, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,6

COMMENTS

Denominator = A099246;

a(n)*A070939(n) = A099246(n)*A000120(n);

for n>0: a(n) = A000120(n)/A099244(n).

LINKS

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

Index entries for sequences related to binary expansion of n

FORMULA

a(n) = if n=0 then 0 else A000120(n)/GCD(A070939(n), A000120(n)).

PROG

(Haskell)

import Data.Ratio ((%), numerator)

a099245 n = numerator $ (a000120 n) % (a070939 n)

-- Reinhard Zumkeller, Oct 10 2013

CROSSREFS

Cf. A007088.

Sequence in context: A276309 A165031 A286634 * A185331 A206474 A211999

Adjacent sequences:  A099242 A099243 A099244 * A099246 A099247 A099248

KEYWORD

nonn,frac

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 20 05:01 EDT 2019. Contains 324229 sequences. (Running on oeis4.)