Let denote the set of natural numbers and let denote the set above.
If denote the number of elements in then what is the value of ?
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.
For n ∈ S , let d be the multiplicative order of 3 mod 2 n . Then d divides n by the condition, and d ∣ 2 n − 1 by Euler's Theorem.
But 2 n ≤ 3 d − 1 implies that d > n lo g 3 ( 2 ) > n / 2 , and since d ∣ n we must have d = n . So n ∣ 2 n − 1 , which implies that n is a power of 2 . Note that 1 , 2 , 4 ∈ S and 8 ∈ / S . We need only show that no higher powers of 2 are in S , whence the answer will be 3 .
But this is easy by induction: suppose n ≥ 1 6 and write 3 n − 1 = ( 3 n / 2 − 1 ) ( 3 n / 2 + 1 ) . The multiplicity of 2 in the left factor is < n / 2 by the inductive hypothesis (base case n = 1 6 corresponds to n / 2 = 8 which is not in S by inspection), and the multiplicity of 2 in the right factor is precisely 1 because it's 2 mod 8 . So the multiplicity of 2 in 3 n − 1 is < n / 2 + 1 < n , and we're done.