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.

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

Original entry on oeis.org

9, 10, 14, 15, 40, 43046761, 43046763, 44726379, 44726404, 44732965, 44733590, 44766358, 432186847, 432186848, 432193409, 432193652, 432193656, 432193683, 432226451, 432226515, 432273171, 432273172, 432273208, 432338744, 432340931
Offset: 1

Views

Author

Jonathan Vos Post, Feb 19 2006

Keywords

Comments

The 331st digit of Pi and the 331st digit of e are both 0, so to generate any additional terms of the sequence beyond 330 terms one would have to define 0^0 to be either 0 or 1. - Harvey P. Dale, Aug 05 2014

Examples

			Since Pi =
3.1415926535897932384626433832795028841971693993751058209749445923078164062...
and e =
2.71828182845904523536028747135266249775724709369995957496696762772407663...
we have:
a(1) = 9 = 3^2.
a(2) = 10 = 3^2 + 1^7.
a(3) = 14 = 3^2 + 1^7 + 4^1.
a(4) = 15 = 3^2 + 1^7 + 4^1 + 1^8.
a(5) = 40 = 3^2 + 1^7 + 4^1 + 1^8 + 5^2.
a(6) = 43046761 = 3^2 + 1^7 + 4^1 + 1^8 + 5^2 + 9^8.
		

Crossrefs

Programs

  • Mathematica
    With[{nn=30},Accumulate[RealDigits[Pi,10,nn][[1]]^RealDigits[E,10,nn] [[1]]]] (* Harvey P. Dale, Aug 05 2014 *)

Formula

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