Primes which contain only one odd digit: Difference between revisions
Primes which contain only one odd digit (view source)
Revision as of 16:06, 28 January 2024
, 3 months ago→{{header|Wren}}: Minor tidy
m (cleanup) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,180:
{{libheader|Wren-math}}
{{libheader|Wren-fmt}}
▲<syntaxhighlight lang="ecmascript">import "./math" for Int
import "./fmt" for Fmt
var limit = 999
Line 1,193 ⟶ 1,191:
}
Fmt.print("Primes under $,d which contain only one odd digit:", limit + 1)
System.print("\nFound %(results.count) such primes.\n")
|