Smarandache prime-digital sequence: Difference between revisions
Smarandache prime-digital sequence (view source)
Revision as of 06:36, 15 September 2021
, 2 years ago→{{header|jq}}: typo
m (→{{header|jq}}: typo) |
|||
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 >=
def Smarandache_candidates:
def unconstrained($length):
|