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!)
A336113 a(n) is the numerator of Sum_{odd d|n} 1/d. 1
1, 1, 4, 1, 6, 4, 8, 1, 13, 6, 12, 4, 14, 8, 8, 1, 18, 13, 20, 6, 32, 12, 24, 4, 31, 14, 40, 8, 30, 8, 32, 1, 16, 18, 48, 13, 38, 20, 56, 6, 42, 32, 44, 12, 26, 24, 48, 4, 57, 31, 24, 14, 54, 40, 72, 8, 80, 30, 60, 8, 62, 32, 104, 1, 84, 16, 68, 18, 32, 48, 72 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = (-1)^(n+1) * A098986(n) for n>=1.
EXAMPLE
1, 1, 4/3, 1, 6/5, 4/3, 8/7, 1, 13/9, 6/5, 12/11, 4/3, 14/13, 8/7, 8/5, 1, ...
MATHEMATICA
a[n_] := Numerator @ DivisorSum[n, 1/# &, OddQ[#] &]; Array[a, 100] (* Amiram Eldar, Jul 09 2020 *)
PROG
(PARI) a(n) = numerator(sumdiv(n, d, if (d%2, 1/d)));
CROSSREFS
Cf. A098985 (denominators), A098986.
Sequence in context: A327419 A192066 A347385 * A098986 A000593 A115607
KEYWORD
nonn,frac
AUTHOR
Michel Marcus, Jul 09 2020
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 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)