TOKYO - Core consumer prices in Tokyo gained 3.4 percent in October from a year ago, marking the sharpest increase in over 40 years, government data showed Friday, in fresh evidence of a weaker yen magnifying the inflationary pressures caused by higher commodity prices.