login
A161792
If b(m) is the number of 1's in the binary representation of m, then the positive integer m is included if m = k^b(m), for some integer k.
7
1, 2, 4, 8, 9, 16, 32, 36, 64, 128, 144, 256, 512, 576, 729, 1024, 2048, 2304, 4096, 8192, 9216, 16384, 32768, 36864, 46656, 65536, 131072, 147456, 262144, 524288, 589824, 1048576, 2097152, 2359296, 2985984, 4194304, 4782969, 8388608, 9437184, 14348907, 16777216
OFFSET
1,2
COMMENTS
Contains every power of 2. - Sean A. Irvine, Nov 29 2009
LINKS
David A. Corneth, Table of n, a(n) for n = 1..275 (terms <= 2^150)
David A. Corneth, PARI program
EXAMPLE
36 in binary is 100100, which has two 1's. Since 36 = 6^2, with an exponent of 2, then 36 is included in this sequence.
MATHEMATICA
q[m_] := IntegerQ[Surd[m, DigitSum[m, 2]]]; Select[Range[10^5], q] (* Amiram Eldar, Jul 19 2025 *)
CROSSREFS
Sequence in context: A331992 A113570 A065391 * A111261 A276773 A294441
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Jun 19 2009
EXTENSIONS
More terms from Sean A. Irvine, Nov 29 2009
a(40)-a(41) from Amiram Eldar, Jul 19 2025
STATUS
approved