cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A075434 Numbers that are not the sum of two perfect powers.

This page as a plain text file.
%I A075434 #8 Oct 04 2013 09:26:40
%S A075434 1,3,4,6,7,11,14,15,19,21,22,23,27,30,38,39,42,46,47,49,51,55,56,60,
%T A075434 62,66,67,69,70,71,75,77,78,79,83,84,86,87,88,92,93,94,95,99,102,103,
%U A075434 105,107,110,111,112,114,115,118,119,120,121,123,124,131,135,138,139,140
%N A075434 Numbers that are not the sum of two perfect powers.
%o A075434 (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, nn, if (! setsearch(sumpp, i), print1(i, ", ")););} \\ _Michel Marcus_, Oct 04 2013
%Y A075434 Cf. A001597, complement of A070049.
%K A075434 easy,nonn
%O A075434 1,2
%A A075434 _Zak Seidov_, Oct 11 2002