Do i have to buy i works for my ipad and my i mac?

If i bought an I Mac and a Ipad Mini, would i have to buy pages, numbers, and keynote twice, one for each product?

iPad

Follow this Question