2 deleted 65 characters in body
source | link

Java 8, 6969 61 bytes

n->{int r=2r=1,c=2;for(;r<=n;;r++<n;)iffor(n%r<1){n;n%r<1;n/=r;c=r)c--;}else r++;return;return c==0;}

Port of-8 bytes thanks to @GB's Ruby answer@Nevay.

Try it here.Try it here.

Java 8, 69 bytes

n->{int r=2,c=2;for(;r<=n;)if(n%r<1){n/=r;c--;}else r++;return c==0;}

Port of @GB's Ruby answer.

Try it here.

Java 8, 69 61 bytes

n->{int r=1,c=2;for(;r++<n;)for(;n%r<1;n/=r)c--;return c==0;}

-8 bytes thanks to @Nevay.

Try it here.

1
source | link

Java 8, 69 bytes

n->{int r=2,c=2;for(;r<=n;)if(n%r<1){n/=r;c--;}else r++;return c==0;}

Port of @GB's Ruby answer.

Try it here.