What is the ones digit of 1^2009 + 2^2009 + 3^2009 + ... + 2009^2009 + 2010^2009 + ... + 10000^2009?
sumfor(n, 1, 10000, n^2009) mod 10^10==9,985,000,000 - these are the last 10 digits