login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A338800 Smallest number that is the sum of two distinct n-th powers of primes in two different ways. 1
16, 410, 6058655748, 3262811042 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The Lander, Parkin, and Selfridge conjecture implies that for n >= 5 a number can be the sum of two n-th powers of positive integers in at most one way, and in particular that a(n) does not exist for n >= 5. - Robert Israel, Nov 13 2020
LINKS
EXAMPLE
16 = 3 + 13 = 5 + 11.
410 = 7^2 + 19^2 = 11^2 + 17^2.
6058655748 = 61^3 + 1823^3 = 1049^3 + 1699^3.
3262811042 = 7^4 + 239^4 = 157^4 + 227^4.
MAPLE
f:= proc(n) local S, P, p, pn, b;
S:= {}:
P:= {}:
p:= 1:
b:= infinity;
do
p:= nextprime(p);
pn:= p^n;
if pn > b then return b fi;
V:= select(`<`, map(`+`, P, pn), b);
newv:= V intersect S;
S:= S union V;
P:= P union {p^n};
if newv <> {} then
b:= min(newv);
S:= select(`<`, S, b);
P:= select(`<`, P, b);
fi;
od:
end proc:
map(f, [$1..4]); # Robert Israel, Nov 13 2020
CROSSREFS
Sequence in context: A261833 A172205 A209362 * A318220 A035275 A173947
KEYWORD
nonn,hard,more
AUTHOR
Ilya Gutkovskiy, Nov 10 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)