Indonesia the world, extending from east to west and from north to south. According to the country's Coordinating Ministry for Maritime Affairs, Indonesia has 17,504 islands (16,056 of which are registered at the UN), scattered over both sides of the equator, and with about 6,000 of them are inhabited. The largest are Java, Sumatra, Borneo (shared with Brunei and Malaysia), Sulawesi, and New Guinea (shared with Papua New Guinea). Indonesia shares land borders with Malaysia on Borneo, Papua New Guinea on the island of New Guinea, and East Timor on the island of Timor, and maritime borders with Singapore, Malaysia, Vietnam,
Brunei–Malaysia border Brunei–Malaysia border The border between Brunei and Malaysia consist of a 481.3 km land border and substantial lengths of maritime borders stretching from the coastline of the two countries to the edge of the continental shelf in the South China Sea. Except for its South China Sea coastline, Brunei is entirely surrounded by Malaysia's Sarawak state and the country only shares a land boundary with Malaysia. Brunei's unique shape where its territory consists of two non-contiguous portions results in its border with Malaysia being broken into two segments. Brunei's 200 nautical mile continental shelfclaim makes it a claimant of a