login
A382519
Odd positive integers m such that phi(m) and phi(m+1) are both powers of 2.
1
1, 3, 5, 15, 255, 65535, 4294967295
OFFSET
1,2
COMMENTS
Sequence is finite with only 7 values. With the exception of m = 5, the others are products of the first k Fermat primes; i.e., products of A019434 and matching the initial terms of A051179. With the exception of m = 5, sequence resembles A250405.
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.
EXAMPLE
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.
CROSSREFS
Subsequence of A382803.
Sequence in context: A374463 A175138 A248795 * A215444 A378176 A325257
KEYWORD
nonn,fini,full
AUTHOR
Caleb Stanford, Apr 05 2025
STATUS
approved