close
login
A382803
Positive integers m such that phi(m) and phi(m+1) are both powers of 2.
1
1, 2, 3, 4, 5, 15, 16, 255, 256, 65535, 65536, 4294967295
OFFSET
1,2
COMMENTS
Numbers m such that m and m+1 are in A003401
Each of m and m+1 must be a power of 2 times a product of Fermat primes.
Apart from term 5, odd terms are of the form 2^2^k - 1 for k in 0...5.
Even terms are exactly numbers of the form 2^2^k such that 2^2^k + 1 is a Fermat prime (A019434).
The sequence is thus infinite iff A019434 is infinite, i.e., iff there are infinitely many Fermat primes.
EXAMPLE
16 is present because phi(16) = 8 and phi(17) = 16, both powers of two.
17 is not present because phi(17) = 16 but phi(18) = 6, not a power of two.
CROSSREFS
Sequence in context: A199165 A202423 A171593 * A227535 A096774 A201356
KEYWORD
nonn,hard
AUTHOR
Caleb Stanford, Apr 05 2025
STATUS
approved