Jump to content

Smarandache prime-digital sequence: Difference between revisions

m
Line 1,068:
See e.g. [[Erd%C5%91s-primes#jq]] for a suitable implementation of `is_prime` as used here.
<lang jq>def Smarandache_primes:
# Output: a naively constructed stream of candidate strings of length >= 21
def Smarandache_candidates:
def unconstrained($length):
2,471

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.