Grudgingly, Japan is starting to respect its neighbors.

“Until now, Japanese saw China and India as backwards and poor,” said Yoshinori Murai, a professor of Asian cultures at Sophia University in Tokyo. “As Japan loses confidence in itself, its attitudes toward Asia are changing. It has started seeing India and China as nations with something to offer.”

Last month, a national cry of alarm greeted the announcement by the Organization for Economic Cooperation and Development that in a survey of math skills, Japan had fallen from first place in 2000 to 10th place, behind Taiwan, Hong Kong and South Korea. From second in science in 2000, Japan dropped to sixth place.

While China has stirred more concern here as a political and economic challenger, India has emerged as the country to beat in a more benign rivalry over education. In part, this reflects China’s image in Japan as a cheap manufacturer and technological imitator. But India’s success in software development, Internet businesses and knowledge-intensive industries in which Japan has failed to make inroads has set off more than a tinge of envy.

Most annoying for many Japanese is that the aspects of Indian education they now praise are similar to those that once made Japan famous for its work ethic and discipline: learning more at an earlier age, an emphasis on memorization and cramming, and a focus on the basics, particularly in math and science.

India’s more demanding education standards are apparent at the Little Angels Kindergarten, and are its main selling point. Its 2-year-old pupils are taught to count to 20, 3-year-olds are introduced to computers, and 5-year-olds learn to multiply, solve math word problems and write one-page essays in English, tasks most Japanese schools do not teach until at least second grade.

Indeed, Japan’s anxieties about its declining competitiveness echo the angst of another nation two decades ago, when Japan was the economic upstart.

“Japan’s interest in learning from Indian education is a lot like America’s interest in learning from Japanese education,” said Kaoru Okamoto, a professor specializing in education policy at the National Graduate Institute for Policy Studies in Tokyo.