public static void Main()
Console.WriteLine("Tìm số nguyên tố sử dụng thuật toán Sàng Eratosthenes");
Console.WriteLine("Nhập vào số cần tìm số nguyên tố nhỏ hơn:");
n = int.Parse(Console.ReadLine());
bool [] a = new bool[n+1];
for(int i=2; i<Math.Sqrt(n);i++)
int j = (int)Math.Pow(i,2);
Console.WriteLine("Các số nguyên tố là:");
Console.Write("{0}, ",i);