Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. CE431(n1,n2)=
  2. {
  3. for(n=n1,n2,
  4. N=4*3^n-1;
  5. S=2*polchebyshev(9,1,3);
  6. ctr=1;
  7. while(ctr<=n-2,
  8. S=Mod(2*polchebyshev(3,1,S/2),N);
  9. ctr+=1);
  10. if(S==0 && !ispseudoprime(N),print("n="n)))
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement