bool a;
int sum = 2;
Response.Write("2");
for (int i = 3; i <= 100; i++)
{
a = true;
for (int j = i / 2; j > 1; j--)
{
if (i % j == 0)
{
a = false;
break;
}
}
if (a)
{
sum += i;
Response.Write("+" + i);
}
}
Response.Write("=" + sum + "<br />");