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!)
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
FORMULA
a(n+1) = a(n)*prime(n) + (-1)^n*primorial(prime(n-1)) for n >= 3. - Alexandre Herrera, Sep 03 2023
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 * A363000 A106991 A102262
KEYWORD
nonn
AUTHOR
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 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)