OFFSET
1,3
FORMULA
a(2^k) = 1.
EXAMPLE
a(3) = 8: (3^3)^3 = 27^3 = 19683 = 100110011100011_2 which has 8 ones.
MATHEMATICA
Array[DigitCount[#^(#^2), 2, 1] &, 50] (* Michael De Vlieger, Dec 26 2024 *)
PROG
(PARI) a379447(n) = hammingweight((n^n)^n)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Hugo Pfoertner, Dec 26 2024
STATUS
approved