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!)
A354860 a(n) is the denominator of 1/prime(n) + 2/prime(n-1) + 3/prime(n-2) + ... + (n-1)/3 + n/2. 2
2, 3, 30, 35, 2310, 15015, 34034, 4849845, 223092870, 154040315, 200560490130, 742073813481, 101416754509070, 6541380665835015, 55899071144408310, 5431526412865007455, 54936010004406075402, 4511091590746421960895, 2619440517026755685293030, 278970415063349480483707695 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Denominator of a second order prime harmonic number.
LINKS
FORMULA
a(n) is the denominator of Sum_{j=1..n} Sum_{i=1..j} 1/prime(i).
EXAMPLE
1/2, 4/3, 71/30, 124/35, 11111/2310, 92402/15015, 257189/34034, ...
MATHEMATICA
Table[Sum[(n - k + 1)/Prime[k], {k, 1, n}], {n, 1, 20}] // Denominator
PROG
(Python)
from fractions import Fraction
from sympy import prime, primerange
def a(n): return sum(Fraction(n-i, p) for i, p in enumerate(primerange(1, prime(n)+1))).denominator
print([a(n) for n in range(1, 21)]) # Michael S. Branicky, Jun 09 2022
CROSSREFS
Cf. A002110, A027611, A354859 (numerators).
Sequence in context: A024631 A032814 A233587 * A228269 A167453 A095927
KEYWORD
nonn,frac
AUTHOR
Ilya Gutkovskiy, Jun 09 2022
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 September 15 22:11 EDT 2024. Contains 375959 sequences. (Running on oeis4.)