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!)
A120273 Absolute value of the numerator of Sum_{i=1..n} (-1)^i * i/prime(i). 1
1, 1, 13, 29, 731, 4357, 136141, 1497401, 52856987, 698076077, 49526267143, 574253997269, 72925181864501, 1123720869207397, 143426539122302791, 2236629947933814637, 422054527184135696827, 8864360144543549996813 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = abs(numerator(Sum_{i=1..n} (-1)^i * i/prime(i))).
a(n) = abs(Sum_{i=1..n} ((i(-1)^i * (Product_{k=1..n} prime(k)))/prime(i))). - Petr Platais, Aug 14 2022
MATHEMATICA
Abs[Numerator[Table[Sum[(-1)^i*i/Prime[i], {i, 1, n}], {n, 1, 20}]]]
Abs[Table[Sum[(m*(-1)^m*Product[Prime[n], {n, 1, k}])/Prime[m], {m, 1, k}], {k, 1, 20}]] (* Petr Platais, Aug 11 2022 *)
PROG
(PARI) for(n=1, 20, print1(numerator(abs(sum(k=1, n, (-1)^k*k/prime(k)))), ", ")) \\ G. C. Greubel, Aug 23 2018
(Magma) [Numerator(Abs((&+[(-1)^k*k/NthPrime(k): k in [0..n]]))): n in [1..20]]; // G. C. Greubel, Aug 23 2018
CROSSREFS
Sequence in context: A317897 A195878 A013545 * A104817 A048450 A216193
KEYWORD
frac,nonn
AUTHOR
Alexander Adamchuk, Jul 01 2006
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 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)