Indonesia's republican form of government includes an elected legislature and president. Indonesia has 34 provinces, of which five have Special Administrative status. Its capital and country's most populous city is Jakarta, which is also the most populous city in Southeast Asia. The country shares land borders with Papua New Guinea, East Timor, and the eastern part of Malaysia. Other neighbouring countries include Singapore, Vietnam, the Philippines, Australia, Palau, and the Indian territory of the Andaman and Nicobar Islands. Despite its large population and densely populated regions, Indonesia has vast areas of wilderness that support the world's third highest level of biodiversity. The country has abundant natural resources like oil and natural gas, tin, copper and gold. Agriculture mainly produces rice, palm oil, tea, coffee, cacao, medicinal plants, spices and rubber. Indonesia's major trading partners are Japan, the United States, China and neighbours Singapore, Malaysia and Australia.
The Indonesian archipelago has been an important region for trade since at least the 7th century, when Srivijaya and then later Majapahit traded with China and India. Local rulers gradually absorbed foreign cultural, religious and political models from the early centuries CE, and Hindu and Buddhist kingdoms flourished. Indonesian history has been influenced by foreign powers drawn to its natural resources. Muslim traders and Sufi scholars brought the now-dominant Islam, while European powers brought Christianity and fought one another to monopolise trade in the Spice Islands of Maluku during the Age of Discovery. Following three and a half centuries of Dutch colonialism starting from Amboina and Batavia, and eventually all of the archipelago including Timor and Western New Guinea, at times interrupted by Portuguese, French and British rule, Indonesia secured its independence after World War II.
Indonesia consists of hundreds of distinct native ethnic and linguistic groups, with the largestand politically dominantethnic group being the Javanese. The population is unevenly spread throughout the islands within a variety of habitats and levels of development, ranging from the megalopolis of Jakarta to uncontacted tribes in the east. A shared identity has developed, defined by a national language, ethnic diversity, religious pluralism within a Muslim-majority population, and a history of colonialism and rebellion against it. Indonesia's national motto, "Bhinneka Tunggal Ika" ("Unity in Diversity" literally, "many, yet one"), articulates the diversity that shapes the country. Indonesia's economy is the world's 16th largest by nominal GDP and the 7th largest by GDP at PPP. Indonesia is a member of several multilateral organizations, including the UN, WTO, IMF and G20 major economies. It is also a founding member of Non-Aligned Movement, Association of Southeast Asian Nations, Asia-Pacific Economic Cooperation, East Asia Summit, Asian Infrastructure Investment Bank and Organisation of Islamic Cooperation.