A356334 a(n) is the number of nonnegative integer solutions (x; y) with x <= y of x^(n+1) + y^(n+1) = (x+y)^n.
1, 3, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Offset: 0
Examples
For n=2, the 4 solutions are (0; 0), (0; 1), (1; 2) and (2; 2). The pairs (0; 0), (0; 1) and (2^(n-1); 2^(n-1)) exist for all n > 0.
Programs
-
Python
def A356334(n): return sum(1 for x in range((1<
Chai Wah Wu, Sep 19 2022
Extensions
a(11)-a(14) from Hugo Pfoertner, Sep 18 2022
a(15)-a(20) from Chai Wah Wu, Sep 21 2022
Comments