is the following:
In number theory, Euler's theorem (also known as the Fermat-Euler theorem) states that if n is a positive integer and a is relatively prime to n, then
The theorem is a generalization of Fermat's little theorem, and is further generalized by Carmichael's theorem.
The theorem may be used to easily reduce large powers modulo n. For example, consider finding the last decimal digit of 7222, i.e. 7222 mod 10. Note that 7 and 10 are coprime, and φ(10) = 4. So Euler's theorem yields 74 = 1 (mod 10), and we get 7222 = 74·55 + 2 = (74)55·72 = 155·72 = 49 = 9 (mod 10).
In general, when reducing a power of a modulo n (where a and n are coprime), one needs to work modulo φ in the exponent of a:
its not hard to prove ( without a series ) for: e^(ax) = b*sin(x)+c*cos(x) just "play" with it a little.
if someone manage to prove for e^(ax) = b*f(x)+c*g(x) i would be interested.
one of the easiest proof is to expand exp(i*x) in series (Macclauen for example)
you'll get : 1+(i*x)+(i*x)^2/2!+......
you'll find that it's the expansion of cos(x)+i*sin(x)
Regards,