A382519 Odd positive integers m such that phi(m) and phi(m+1) are both powers of 2.
1, 3, 5, 15, 255, 65535, 4294967295
Offset: 1
Examples
5 is present because phi(5) = 4 and phi(6) = 2, both powers of two. 15 is present because phi(15) = 8 and phi(16) = 8, both powers of two. 17 is not present because phi(17) = 16 but phi(18) = 6, not a power of two.
Links
- John and Caleb Stanford (Math StackExchange), A possible Property of Euler's totient function: n such that phi(n) and phi(n+1) are both powers of two
Formula
a(n) = 2^2^k - 1 for k = 0, 1, 2, 3, 4, 5, equivalently the product of first k Fermat numbers, OR a(n) = 5. Sequence is finite because the next Fermat number, 4294967297 is composite.
Comments