cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A382803 Positive integers m such that phi(m) and phi(m+1) are both powers of 2.

Original entry on oeis.org

1, 2, 3, 4, 5, 15, 16, 255, 256, 65535, 65536, 4294967295
Offset: 1

Views

Author

Caleb Stanford, Apr 05 2025

Keywords

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.

Examples

			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

Showing 1-1 of 1 results.