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!)
A225106 Prime powers (A025475) that can be represented as a sum of two distinct prime powers. 2
9, 25, 81, 125, 512, 5041 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The next term, if it exists, is bigger than 2^64.
Conjecture: the sequence is finite. - Alex Ratushnyak, Feb 03 2020
LINKS
Alex Ratushnyak, C program
EXAMPLE
9 = 8 + 1.
25 = 16 + 9.
81 = 32 + 49.
125 = 121 + 4.
512 = 169 + 343.
5041 = 128 + 4913.
MATHEMATICA
nn = 10000; p = Sort[Flatten[Table[Prime[n]^i, {n, PrimePi[Sqrt[nn]]}, {i, 2, Log[Prime[n], nn]}]]]; p = Join[{1}, p]; t = Union[Select[Flatten[Table[p[[i]] + p[[j]], {i, Length[p] - 1}, {j, i + 1, Length[p]}]], # <= nn &]]; Intersection[p, t] (* T. D. Noe, Apr 29 2013 *)
PROG
(C) see link.
CROSSREFS
Sequence in context: A166103 A327989 A192618 * A110970 A322939 A141583
KEYWORD
nonn,hard,more
AUTHOR
Alex Ratushnyak, Apr 28 2013
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)