OFFSET
1,2
COMMENTS
cos(1) + sin(1) = Sum_{n >= 0} (-1)^floor(n/2)/n! = 1 + 1/1! - 1/2! - 1/3! + 1/4! + 1/5! - 1/6! - 1/7! + + - - ... .
Define E_2(k) = Sum_{n >= 0} (-1)^floor(n/2)*n^k/n! for k = 0, 1, 2, ... . Then E_2(0) = cos(1) + sin(1) and E_2(1) = cos(1) - sin(1).
FORMULA
Equals sin(1+Pi/4)*sqrt(2). - Franklin T. Adams-Watters, Jun 27 2014
EXAMPLE
1.38177329067603622405 ... .
MATHEMATICA
RealDigits[Cos[1]+Sin[1], 10, 120][[1]] (* Harvey P. Dale, Mar 01 2019 *)
CROSSREFS
KEYWORD
AUTHOR
Peter Bala, Aug 30 2008
EXTENSIONS
Offset corrected by R. J. Mathar, Feb 05 2009
STATUS
approved