OFFSET
1,1
COMMENTS
See A332065 for the numbers whose n-th power is the sum of distinct smaller positive n-th powers. This sequence counts the positive integers not in a given row n of that table, whence the formula.
FORMULA
a(n) = lim_{k -> oo} A332065(n,k) - k.
EXAMPLE
For n = 1, only s = 1 and s = 2 are not the sum of distinct smaller positive integers (to the power n = 1), for all s >= 3 on we have s^1 = 1^1 + (s-1)^1 with 1 and s-1 distinct positive integers. Thus a(1) = #{1, 2} = 2.
For n = 2, S2 = {1, 2, 3, 4, 6, 8} is the set of all s > 0 whose square is not the sum of distinct smaller squares, while 5^2 = 4^2 + 3^2, 7^2 = 6^2 + 3^2 + 2^2, and all s^2 >= 9^2 are also the sum of distinct smaller squares. Thus a(2) = #S2 = 6.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
M. F. Hasler, Jul 19 2020
STATUS
approved