Update competitive.md

This commit is contained in:
Sigilante 2022-12-01 15:05:31 -06:00 committed by GitHub
parent 0dc52a8296
commit 85a897c693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,7 +217,7 @@ Now that we can find factors, it should be straightforward to find primes. In t
=/ fxr *(list @ud)
|- ^- (list @ud)
?: =(1 ctr) fxr
?: =(0 +:(dvr n ctr))
?: =(0 (mod n ctr))
$(ctr (sub ctr 1), fxr [ctr fxr])
$(ctr (sub ctr 1))
++ primes