Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は Pari gp に のペアを検索するコードを持ってい(a(x),b(x))ますx。a(x)両方とb(x)両方を素数にする i の総数を返すにはどうすればよいですか
(a(x),b(x))
x
a(x)
b(x)
a(x) =x power 8 + 1 b(x) = x power 10 + 1 for (i=2,5,if(isprime(a(x)==1,if(isprime(b(x)==1,print([i,ax,bx]))