Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,12 +1,12 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
public static class Program
|
||||
{
|
||||
public static void Main() =>
|
||||
Console.WriteLine(string.Join(" ", FindAntiPrimes().Take(20)));
|
||||
|
||||
|
||||
static IEnumerable<int> FindAntiPrimes() {
|
||||
int max = 0;
|
||||
for (int i = 1; ; i++) {
|
||||
|
|
@ -16,7 +16,7 @@ public static class Program
|
|||
yield return i;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int CountDivisors(int n) => Enumerable.Range(1, n / 2).Count(i => n % i == 0) + 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue