I have a task to write a function(n) that finds all the sequences that consists of only 1, 3, 4 (not sure how to explain it in english but i have example below)
For example if n is equal to five then i should print out
5 = 1+1+1+1+1
5 = 1+1+3
5 = 1+3+1
5 = 3+1+1
5 = 1+4
5 = 4+1
I'm not sure how should i go about writing it.