A386249 a(n) is the Hamming weight of A161792(n).
1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 6, 1, 1, 2, 1, 1, 2, 1, 1, 2, 6, 1, 1, 2, 1, 1, 2, 1, 1, 2, 6, 1, 14, 1, 2, 15, 1, 1, 2, 1, 1, 2, 6, 1, 1, 2, 1, 1, 2, 1, 1, 2, 6, 1, 1, 2, 1, 14, 1, 2, 1, 15, 1, 2, 6, 1, 1, 2, 1, 1, 2, 1, 19, 1, 2, 6, 1, 1, 2, 1, 1, 2
Offset: 1
Examples
a(35) = A000120(2985984) = 6.
Links
- Michael S. Branicky, Table of n, a(n) for n = 1..275 (using b-file at A161792)
Programs
-
PARI
{ for (n = 1, oo, if (ispower(n, h = hammingweight(n)), print1 (h", "));); }
Extensions
a(65) and beyond from Michael S. Branicky, Jul 21 2025 using A161792
Comments