The representatives are allocated by population, so (for example) Delaware has one and Pennsylvania has 18. Every state has two senators. That means Delaware has three electoral votes (one representative plus two senators) and Pennsylvania has 20 (18 representatives plus two senators).