Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jordan(n,k)=my(a=n^k);fordiv(n,i,if(isprime(i),a*=(1-1/(i^k))));a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement