This question was asked in Example 5
Express 1024 as Product of Prime factor

Miskeen Khan's image