The stock market capped a quiet week of trading on a down note on Friday. Major indexes fell from the start as oil drillers and other energy-related companies followed oil prices lower. Stocks spent much of the rest of the day drifting between losses and gains as investors considered a mixed bag corporate earnings and a slight increase in inflation.

On Friday:

The Dow Jones industrial average fell 53.72 points, or 0.3 percent, to 18,232.02.

The Standard & Poor's 500 index closed down 4.76 points, or 0.2 percent, to 2,126.06.

The Nasdaq composite edged down 1.43 points to 5,089.36.

For the week:

The Dow is down 40.54 points, or 0.2 percent.

The S&P 500 is up 3.33 points, or 0.2 percent.

The Nasdaq is up 41.07, or 0.8 percent.

For the year:

The Dow is up 408.95 points, or 2.3 percent.

The S&P 500 index is up 67.16 points, or 3.3 percent.

The Nasdaq is up 353.31 points, or 7.5 percent.