Note: is the Euler totient function.
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.
Let's look at the following sum (called a Lambert series): L ( q ) = n = 1 ∑ ∞ f ( n ) . 1 − q n q n = n = 1 ∑ ∞ f ( n ) . q − n − 1 1
If we use the geometric series formula we get that L ( q ) = n = 1 ∑ ∞ f ( n ) ( q n + q 2 n + q 3 n . . . ) = m = 1 ∑ ∞ g ( m ) . q m , g ( m ) = d ∣ m ∑ f ( d ) .
This is true because q a appears only if m|a.
If we take f ( n ) = φ ( n ) , we get that
L ( q ) = m = 1 ∑ ∞ m . q m .But this sum can be obtained by taking the derivative of an infinite geometric series and then multiplying by q.So
L ( q ) = ( 1 − q ) 2 q .
Plugging in q=1/2, we get the answer 2