OFFSET
1,1
EXAMPLE
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.
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 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Feb 17 2006
STATUS
approved