Port an OpenMP scan that, for every odd n in large intervals up to 4e18, computes a^((n-1)/2) mod n with the per-number base a = 2 + popcount(n) and the Jacobi symbol (a|n), and reports agreement counts and checksums
harbor run -t elfsong/cpu2gpu-numfn-popbase-eulerharbor download elfsong/cpu2gpu-numfn-popbase-eulerRevision 10ba96d89Published by elfsong
Revision 920e964aPublished by elfsong
Revision 857a243dPublished by elfsong
Revision 729f21f1Published by elfsong
Revision 62985d3bPublished by elfsong
Revision 5a57a9f2Published by elfsong
Revision 4f84c461Published by elfsong
Revision 3a835c98Published by elfsong
Revision 2e161424Published by elfsong
Revision 1206789dPublished by elfsong