[go: up one dir, main page]

login
A114844
Sum of first n digits of Pi to digit-wise power of first n digits of e.
1
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,1
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
LINKS
Eric Weisstein's World of Mathematics, Pi Digits.
Eric Weisstein's World of Mathematics, e.
FORMULA
a(n) = Sum_{i=1..n} A000796(i)^A001113(i).
EXAMPLE
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.
MATHEMATICA
With[{nn=30}, Accumulate[RealDigits[Pi, 10, nn][[1]]^RealDigits[E, 10, nn] [[1]]]] (* Harvey P. Dale, Aug 05 2014 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Feb 19 2006
STATUS
approved