The largest and bloodiest American battle came at Okinawa, as the U.S. sought airbases for 3,000 B-29 bombers and 240 squadrons of B-17 bombers for the intense bombardment of Japan's home islands in preparation for a full-scale invasion in late 1945. The Japanese, with 115,000 troops augmented by thousands of civilians on the heavily populated island, did not resist on the beaches—their strategy was to maximize the number of soldier and Marine casualties, and naval losses from Kamikaze attacks. After an intense bombardment the Americans landed on 1 April 1945 and declared victory on 21 June. The supporting naval forces were the targets for 4,000 sorties, many by Kamikaze suicide planes. U.S. losses totaled 38 ships of all types sunk and 368 damaged with 4,900 sailors killed. The Americans suffered 75,000 casualties on the ground; 94% of the Japanese soldiers died along with many civilians.

How many B-29 bombers were airbases need for in Okinawa?