cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A114605 Sum of first n digits of e to digit-wise power of first n digits of Pi.

Original entry on oeis.org

8, 15, 16, 24, 56, 134217784, 134217785, 134479929, 134479961, 134480473, 134481497, 134872122, 522292611, 522292611, 522554755, 522554880, 522554884, 522554911, 522945536, 522945617
Offset: 1

Views

Author

Jonathan Vos Post, Feb 17 2006

Keywords

Examples

			Since e = 2.71828182845904523536028747135266249775724709369995957496696762772407663...
and Pi =
3.1415926535897932384626433832795028841971693993751058209749445923078164062...
a(1) = 8 = 2^3.
a(2) = 15 = 2^3 + 7^1.
a(3) = 16 = 2^3 + 7^1 + 1^4.
a(4) = 24 = 2^3 + 7^1 + 1^4 + 8^1.
a(5) = 56 = 2^3 + 7^1 + 1^4 + 8^1 + 2^5.
a(6) = 134217784 = 2^3 + 7^1 + 1^4 + 8^1 + 2^5 + 8^9.
		

Crossrefs

Programs

  • Mathematica
    Module[{nn=20,pi,ee},pi=RealDigits[Pi,10,nn][[1]];ee=RealDigits[E, 10, nn] [[1]]; Table[Total[Take[ee,n]^Take[pi,n]],{n,nn}]] (* Harvey P. Dale, Jan 13 2017 *)

Formula

a(n) = Sum_{i=1..n} A001113(i)^A000796(i).