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.

A382519 Odd positive integers m such that phi(m) and phi(m+1) are both powers of 2.

Original entry on oeis.org

1, 3, 5, 15, 255, 65535, 4294967295
Offset: 1

Views

Author

Caleb Stanford, Apr 05 2025

Keywords

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.

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.
		

Crossrefs

Subsequence of A382803.

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.
Showing 1-1 of 1 results.