login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024529 a(n) = s(1)*s(2)*...*s(n)*(1/s(1) - 1/s(2) + ... + c/s(n)), where s(1) = 1, s(k) = p(k-1) for k >= 2 and c = (-1)^(n+1). 1
1, 1, 5, 19, 163, 1583, 22889, 359083, 7333087, 158961311, 4832970889, 143352404329, 5504599450303, 218267839327613, 9689767354614569, 442336304335214713, 24058713912354871199, 1386874962351747356011 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..18.

PROG

(PARI) a(n)=if(n<1, n>0, prod(i=1, n-1, prime(i))*sum(i=1, n-1, (-1)^i/prime(i), 1)) /* Michael Somos, Feb 01 2004 */

CROSSREFS

Sequence in context: A027269 A082790 A145935 * A106991 A102262 A123281

Adjacent sequences:  A024526 A024527 A024528 * A024530 A024531 A024532

KEYWORD

nonn

AUTHOR

Clark Kimberling

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 22 16:35 EDT 2021. Contains 345388 sequences. (Running on oeis4.)