Euler's Totient Function ? You probably do.
Do you knowThe function stands for the number of positive integers less than or equal to n that are relatively prime to n.
In this problem, you will receive a list of a list of numbers, and you must answer the value of the sum of Euler's Totient Function for every number in that list. As the sum may be too big, you must give the answer modulo 1,000,000,007 .
Click here to access the list.
For example, if the list was {3, 5, 7}, your answer should be:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
My code can be accessed here
Explanations are on the code.
If you don't understand some properties, read this .