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.
%I A309801 #5 Aug 18 2019 12:13:17 %S A309801 1,4,9,81,244,793,2316,65536,262145,1049600,4196353,17308657,68703188, %T A309801 273234809,1088123500,152587890625,762939453126,3814697527769, %U A309801 19073486852414,95370918425026,476847618556329,2384217176269538,11921023106645561,59886119752101281 %N A309801 If 2*n = Sum (2^e_k) then a(n) = Sum (e_k^n). %C A309801 Replace 2^k with (k + 1)^n in binary representation of n. %F A309801 a(n) = [x^n] (1/(1 - x)) * Sum_{k>=0} (k + 1)^n*x^(2^k)/(1 + x^(2^k)). %e A309801 14 = 2*7 = 2^1 + 2^2 + 2^3 so a(7) = 1^7 + 2^7 + 3^7 = 2316. %t A309801 Table[Reverse[#].Range[Length[#]]^n &@IntegerDigits[n, 2], {n, 1, 24}] %t A309801 Table[SeriesCoefficient[1/(1 - x) Sum[(k + 1)^n x^2^k/(1 + x^2^k), {k, 0, Floor[Log[2, n]] + 1}], {x, 0, n}], {n, 1, 24}] %Y A309801 Cf. A008935, A029931, A104258. %K A309801 nonn %O A309801 1,2 %A A309801 _Ilya Gutkovskiy_, Aug 17 2019