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.

A364650 Number of powers of 3 whose binary representation contains exactly n 1's.

Original entry on oeis.org

1, 2, 1, 1, 1, 3, 0, 1, 1, 1, 2, 0, 1, 3, 1, 1, 2, 1, 1, 1, 0, 1
Offset: 1

Views

Author

Pontus von Brömssen, Jul 31 2023

Keywords

Comments

Number of numbers k >= 0 such that A011754(k) = n.
Senge and Straus prove that a(n) is finite for all n.
After a(22), the sequence undoubtedly continues 0, 1, 3, 2, 1, 1, 1, 1, 0, 2, 1, 4, 1, 1, 0, 2, 4, 1, 2, 3, 0, 0, 2, 1, 1, 1, 1, 0, ..., but there seem to be proofs only for the first 22 terms (Dimitrov and Howe).

Examples

			There are a(6) = 3 powers of 3 that have exactly 6 binary 1's: 3^5 (11110011 in binary), 3^6 (1011011001), and 3^8 (1100110100001).
There is no power of 3 with exactly 7 binary 1's, so a(7) = 0.
		

Crossrefs

Cf. A011754.