Let n be an integer. We consider s(n) , the sum of the 2001 powers of n with the exponents 0 to 2000 . So s(n)=∑k=02000nk . What is the unit digit of s(n) in the decimal system?
Let Ao={1,2} and for n>0,An results from An−1 by adding the natural numbers to An−1 which can be represented as the sum of two different numbers from An−1 . Let an=∣An∣ be the number of numbers in An . Determine an as a function of n .