Free Apps on 5S won't transfer to my older iMac
I just got the iPhone 5S and it came with a bunch of free apps. Some of these apps are Keynote and iPhoto and other apps like that. I also just recently purchased a used iMac from 2007. It is in perfect condition but it has no programs on it besides the basic programs it came with. I have updated to Maverick but when I log-in to my Apple ID it doesn't show my "purchases." I have already downloaded all of these apps on my iPhone so why isn't it allowing me to download on my iMac? It is saying that all the apps still cost the full price.
How can I transfer the apps that came with my iPhone 5S to my older iMac?
THANKS!
iMac, OS X Mavericks (10.9.1)