Some remarks concerning sequences and series are in the following paragraphs....
Series defined by the following relation makes an interesting group:
Let us denote m the period of the sequence {ak}.
For the zero sequence {ak}, E{0} = 0. And for E{1} or E{-1} we use the Euler relation: E(x) = e^x = x^0/0! + x^1/1! + x^2/2! + x^3/3! ...
E(-1) = -e E{1} = e
From the relations:
E{0,1} = (e - 1/e)/2 = 1.175201194 E{1, 0} = (e + 1/e)/2 = 1.543080635
we get:
E{1,0,0} = 1.168058313 E{0,1,0} = 1.041865365 E{0,0,1} = 0.508358157(=1.016716314 / 2)
E{1,0,0,0} = 1.04169147 (=a) E{0,1,0,0} = 1.00833609 (=b) E{0,0,1,0} = 0.50138916 (=1.00277832 / 2 =c) E{0,0,0,1} = 0.16686511 (=1.00119066 / 4 =d)
And the known series for sinus and cosine:
E{0,1,0,-1} = sin 1 [rad] = (ei-1/ei)/2i = 0.841470985 (=b-d) E{1,0,-1,0} = cos 1 [rad] = (ei+1/ei)/2 = 0.540302306 (=a-c)
Nevertheless (inheriting from m = 2), we have:
E{0,1,0,1} = E{0, 1} = (e - 1/e)/2 = 1.175201194 (=b+d) = sinh 1 (hyperbolic sine) E{1,0,1,0} = E{1, 0} = (e + 1/e)/2 = 1.543080635 (=a+c) = cosh 1 (hyperbolic cosine)
From the sum of the expressions E{1,0,-1,0} + E{1,0,1,0} = 2*E{1,0,0,0} (=2*a) we get (ei+1/ei)/2 + (e + 1/e)/2.
And similarly from E{0,1,0,-1} + E{0,1,0,1} = 2*E{0,1,0,0} (=2*b) we have (ei/i-1/ei/i)/2 + (e - 1/e)/2 i.e.:
Next E{1,0,1,0} - E{1,0,-1,0} = 2*E{0,0,1,0} (=2*c) and E{0,1,0,1} - E{0,1,0,-1} = 2*E{0,0,0,1} (=2*d) i.e.:
From the sums with simple power sequences we get the expressions whose coefficients are Stirling's second-order numbers:
E(n) = x*ex E(n2) = (x2+x)*ex E(n3) = (x3+3*x2+x)*ex E(n4) = (x4+6*x3+7*x2+x)*ex E(n5) = (x5+10*x4+25*x3+15*x2+x)*ex
The result of the sum for Bernoulli's sequence Bn:
For numbers En/2n of Euler's polynomials En(x):