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!)
A028236 If n = Product (p_j^k_j), a(n) = numerator of Sum 1/p_j^k_j. 8
1, 1, 1, 1, 1, 5, 1, 1, 1, 7, 1, 7, 1, 9, 8, 1, 1, 11, 1, 9, 10, 13, 1, 11, 1, 15, 1, 11, 1, 31, 1, 1, 14, 19, 12, 13, 1, 21, 16, 13, 1, 41, 1, 15, 14, 25, 1, 19, 1, 27, 20, 17, 1, 29, 16, 15, 22, 31, 1, 47, 1, 33, 16, 1, 18, 61, 1, 21, 26, 59, 1, 17, 1, 39, 28, 23, 18, 71, 1, 21, 1, 43 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
Fraction is additive with a(p^e) = 1/p^e.
a(n) = Sum_{k=1..A001221(n)} n/A141809(n,k). - Reinhard Zumkeller, Nov 10 2013
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k)/k = Sum_{p prime} 1/(p*(p+1)) = 0.330229... (A179119). - Amiram Eldar, Sep 29 2023
EXAMPLE
Fractions begin with 1, 1/2, 1/3, 1/4, 1/5, 5/6, 1/7, 1/8, 1/9, 7/10, 1/11, 7/12, ...
MATHEMATICA
a[n_] := n * Total[1/Power @@@ FactorInteger[n]]; Array[a, 100] (* Amiram Eldar, Sep 29 2023 *)
PROG
(Magma) a028236:=func< k | k eq 1 select 1 else Numerator(&+[ f[i, 1]^-f[i, 2]: i in [1..#f] ]) where f is Factorization(k) >; [ a028236(n):n in [1..82] ]; // Klaus Brockhaus, Nov 06 2010
(Haskell)
a028236 n = sum $ map (div n) $ a141809_row n
-- Reinhard Zumkeller, Nov 10 2013
CROSSREFS
Denominator is n (A000027).
Sequence in context: A250097 A340678 A028235 * A066504 A367202 A292771
KEYWORD
nonn,easy,frac
AUTHOR
EXTENSIONS
More terms from Erich Friedman
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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)