Good God. How much ram does Android need? My 4s has 512MB. Runs perfectly fine.
Sounds like you know what you are talking about completely making such awesome and fair comparisons.
I would honestly recommend picking up a book, or researching.
The Iphone doesn't require heavy resources because of the fact it's been HEAVILY optimized. Before you go on getting brainwashed, optimizing is often working around a problem by mimicking an action, lowering the quality or workload or removing features.
A CPU is only physically capable of so much throughput, and no amount of software optimization will make it process anything any faster what you can do however is lower the workload by optimizing the software.
For example ANY animations (from UI to apps) on the Iphone can only run on screen only, and will not process in the background. Same with multitasking.
I won't get into iOS features vs android, that subject has been beaten to death and it's clear Android offers more.
As I tell my sister: Iphones are good phones. They work, they're fast. But that's all they are: Good phones.
That's what I love about Android, manufacturers are WILLING to risk making better phones. Even if they miss most of the times, they keep getting better. It's how we ended up with the HTC One, Samsung S4, Moto X, LG G2, Xperia etc.