Last ten digits of 1000 term self power sum