Table schema:
CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)

Question: Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?
SQL: SELECT MAX(area_km_2) FROM table_name_46 WHERE official_name = "stanley" AND population > 1 OFFSET 817