1,2

Table of n, a(n) for n=1..54.

(PARI) sgpwr(n) = for(j=1, n, print1(gpwr(j)", ")) gpwr(n) = s=0; for(x=1, n, if(!ispower(x), s+=x)); s

Sequence in context: A158662 A119980 A066779 * A201155 A200534 A138743

Adjacent sequences: A132381 A132382 A132383 * A132385 A132386 A132387

nonn

Cino Hilliard, Nov 07 2007

approved