Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
using Primes
|
||||
|
||||
struct EuclidMullin end
|
||||
|
||||
Base.length(em::EuclidMullin) = 1000 # not expected to get to 1000
|
||||
Base.eltype(em::EuclidMullin) = BigInt
|
||||
Base.iterate(em::EuclidMullin, t=big"1") = (p = first(first(factor(t + 1).pe)); (p, t * p))
|
||||
|
||||
println("First 16 Euclid-Mullin numbers: ", join(Iterators.take(EuclidMullin(), 16), ", "))
|
||||
Loading…
Add table
Add a link
Reference in a new issue