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!)
A202688 Decimal expansion of Sum_{n>=0} (-1)^(n+1) / n!!. 1

%I #18 Sep 08 2022 08:46:01

%S 2,3,8,0,3,5,1,3,6,0,5,7,6,8,0,1,4,9,1,5,7,8,2,6,0,7,6,3,9,5,0,4,8,5,

%T 3,0,3,3,0,2,9,7,4,7,5,0,8,4,9,5,5,8,1,3,8,5,0,4,3,9,8,4,3,4,7,5,8,7,

%U 9,2,2,2,7,0,3,8,1,7,6,8,1,5,1,7,3,6,7

%N Decimal expansion of Sum_{n>=0} (-1)^(n+1) / n!!.

%H G. C. Greubel, <a href="/A202688/b202688.txt">Table of n, a(n) for n = 0..10000</a>

%F Equals Sum_{n>=1} (-1)^(n+1)*n!! /n!.

%F Equals sqrt(e) - sqrt(e*Pi/2)*erf(1/sqrt(2)).

%e 0.23803513605768014915782607639504...

%p with(numtheory):Digits:=200:s:=evalf(sum(ā€˜((-1)^(i+1))*doublefactorial(i)/i! ā€™,ā€™iā€™=1..100)):print(s):

%t RealDigits[N[Sum[((-1)^(n+1))/n!!,{n,0,100}],105]][[1]]

%t RealDigits[Sqrt[E] - Sqrt[(E*Pi)/2]*Erf[1/Sqrt[2]], 10, 105][[1]] (* _G. C. Greubel_, Mar 28 2019 *)

%o (PARI) exp(.5) - sqrt(exp(1)*Pi/2)*(1-erfc(sqrt(.5))) \\ _Charles R Greathouse IV_, Nov 21 2016

%o (Magma) SetDefaultRealField(RealField(112)); R:= RealField(); Exp(1/2)*(1 - Sqrt(Pi(R)/2)*Erf(1/Sqrt(2)) ); // _G. C. Greubel_, Mar 28 2019

%o (Sage) numerical_approx(exp(1/2)*(1 - sqrt(pi/2)*erf(1/sqrt(2))), digits=112) # _G. C. Greubel_, Mar 28 2019

%Y Cf. A006882 (n!!), A143280 (m(2)).

%K nonn,cons

%O 0,1

%A _Michel Lagneau_, Dec 24 2011

%E Terms a(80) onward corrected by _G. C. Greubel_, Mar 28 2019

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 August 12 06:37 EDT 2024. Contains 375085 sequences. (Running on oeis4.)