Largest integer power m (with 0 to stand for infinity) for which a representation of the form n = k^m exists (for some k >= 1) multiplied by -1 when k is prime.

A158052

Largest integer power m (with 0 to stand for infinity) for which a representation of the form n = k^m exists (for some k >= 1) multiplied by -1 when k is prime.

Terms

    a(0) =0a(1) =-1a(2) =-1a(3) =-2a(4) =-1a(5) =1a(6) =-1a(7) =-3a(8) =-2a(9) =1a(10) =-1a(11) =1a(12) =-1a(13) =1a(14) =1a(15) =-4a(16) =-1a(17) =1a(18) =-1a(19) =1a(20) =1a(21) =1a(22) =-1a(23) =1a(24) =-2a(25) =1a(26) =-3a(27) =1a(28) =-1a(29) =1

External references