Can some one help me out the question is

The no of unis ways can a number can be expressed as a sum of unique primes

Ex 10 ;10=2+3+5&&10=3+7 so ans is 2

How can I write a c program for this