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!)
A070049 Sum of two perfect powers. 6
2, 5, 8, 9, 10, 12, 13, 16, 17, 18, 20, 24, 25, 26, 28, 29, 31, 32, 33, 34, 35, 36, 37, 40, 41, 43, 44, 45, 48, 50, 52, 53, 54, 57, 58, 59, 61, 63, 64, 65, 68, 72, 73, 74, 76, 80, 81, 82, 85, 89, 90, 91, 96, 97, 98, 100, 101, 104, 106, 108, 109, 113, 116, 117, 122, 125 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(PARI) lista(nn) = {vec = vector(nn, i, i); pp = concat(1, select(i->ispower(i) , vec)); sumpp = Set(); for (i = 1, #pp, for (j = 1, #pp, sumpp = Set(concat(sumpp, pp[i]+pp[j])); ); ); for (i = 1, #sumpp, if (sumpp[i] <= nn, print1(sumpp[i], ", ")); ); } \\ Michel Marcus, Oct 04 2013
CROSSREFS
Cf. A001597, complement of A075434.
Sequence in context: A276784 A153129 A076871 * A085254 A274035 A068537
KEYWORD
nonn,easy
AUTHOR
Sharon Sela (sharonsela(AT)hotmail.com), May 06 2002
EXTENSIONS
More terms from Rick L. Shepherd, Aug 24 2002
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 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)