Data update

This commit is contained in:
Ingy dot Net 2024-04-19 16:56:29 -07:00
parent 0df55f9f24
commit aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions

View file

@ -1,11 +1,11 @@
val .isPrime = f .i == 2 or .i > 2 and
not any f(.x) .i div .x, pseries 2 .. .i ^/ 2
val .isPrime = fn(.i) .i == 2 or .i > 2 and
not any fn(.x) .i div .x, pseries 2 .. .i ^/ 2
var .nums = []
var .repunit = 111_111
for .n = 9; len(.nums) < 10; .n += 2 {
.repunit = .repunit x 100 + 11
.repunit = .repunit * 100 + 11
if not .isPrime(.n) and .repunit div .n {
.nums = more .nums, .n
}