|
|
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
|
|
|
1, 3, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Conjecture: a(n) = 3 except for n = 0 or n = 2. - Chai Wah Wu, Sep 21 2022
|
|
LINKS
|
|
|
EXAMPLE
|
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.
|
|
PROG
|
(Python)
def A356334(n): return sum(1 for x in range((1<<n)+1) for y in range(x, (1<<n)+1) if x**(n+1)+y**(n+1)==(x+y)**n) # Chai Wah Wu, Sep 19 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|