All public logs

Combined display of all available logs of Rosetta Code. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 15:06, 24 March 2023 CalmoSoft talk contribs created page Double Twin Primes (Created page with "'''Definition''' <br> Let (p1,p2) and (p3,p4) be twin primes where p3 - p2 = 4. <br> Such primes called '''Double Twin Primes''' <br> <br> '''Example''' <br> [5,7,11,13] <br> '''Task''' <br> Find and show here all Double Twin Primes under 1000. <br> =={{header|Ring}}== <syntaxhighlight lang="ring"> see "works..." + nl primes = [] limit = 1000 for n =1 to limit/2 if isPrime(n) add(primes,n) ok next lenPrimes = len(primes)-3 for m = 1 to lenPrimes if isP...")