The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A129897 a(n) is the integer that results from truncating both e and Pi to n digits, adding the results, and discarding the decimal point. 0
 5, 58, 585, 5859, 58597, 585987, 5859873, 58598744, 585987447, 5859874481, 58598744819, 585987448203, 5859874482048, 58598744820487, 585987448204883, 5859874482048838, 58598744820488384, 585987448204883846, 5859874482048838473, 58598744820488384737 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 LINKS Table of n, a(n) for n=0..19. FORMULA a(n) = floor(floor(Pi*10^n) + floor(exp(1)*10^n)), Pi=3.14159..., e=2.71828.... EXAMPLE From Jon E. Schoenfield, Feb 24 2021: (Start) n=1: 2 + 3 = 5 --> a(1) = 5; n=2: 2.7 + 3.1 = 5.8 --> a(2) = 58; n=3: 2.71 + 3.14 = 5.85 --> a(3) = 585; n=4: 2.718 + 3.141 = 5.859 --> a(4) = 5859; n=5: 2.7182 + 3.1415 = 5.8597 --> a(5) = 58597; etc. (End) MATHEMATICA Module[{nn=20, pi, e}, pi=RealDigits[Pi, 10, nn][[1]]; e=RealDigits[E, 10, nn] [[1]]; Table[FromDigits[Take[pi, n]]+FromDigits[Take[e, n]], {n, nn}]] (* Harvey P. Dale, May 28 2016 *) CROSSREFS Cf. A011543, A011545. Sequence in context: A173202 A104099 A334698 * A256218 A151424 A097631 Adjacent sequences: A129894 A129895 A129896 * A129898 A129899 A129900 KEYWORD nonn,base,less AUTHOR Kevin J Davis (kevin_j_davis(AT)btinternet.com), Jun 04 2007 EXTENSIONS Corrected and extended by Harvey P. Dale, May 28 2016 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.

Last modified July 23 06:59 EDT 2024. Contains 374544 sequences. (Running on oeis4.)