[go: up one dir, main page]

login
A132384 revision #5

A132384
a(n) = Sum_{ k <= n, k is not an i-th power with i >= 2} k.
2
1, 3, 6, 6, 11, 17, 24, 24, 24, 34, 45, 57, 70, 84, 99, 99, 116, 134, 153, 173, 194, 216, 239, 263, 263, 289, 289, 317, 346, 376, 407, 407, 440, 474, 509, 509, 546, 584, 623, 663, 704, 746, 789, 833, 878, 924, 971, 1019, 1019, 1069, 1120, 1172, 1225, 1279
OFFSET
1,2
PROG
(PARI) a(n) = sum(x=1, n, if(!ispower(x), x));
CROSSREFS
Sequence in context: A158662 A119980 A066779 * A201155 A200534 A138743
KEYWORD
nonn
AUTHOR
Cino Hilliard, Nov 07 2007
STATUS
editing