Hi and welcome to the Matladpi blog!
In this blog post we will generate all rooted trees with size 7.
7 = 1+1*6
= 1+2+1*4
= 1+2*2+1*2
= 1+2*3
= 1+3+1*3
= 1+(1+2)+1*3
= 1+3+2+1
= 1+(1+2)+2+1 = 1+3*2
= 1+(1+2)+3
= 1+(1+2)*2
= 1+4+1*2
= 1+(1+2+1)+1*2
= 1+(1+3)+1*2
= 1+(1+(1+2))+1*2
= 1+4+2
= 1+(1+2+1)+2
= 1+(1+3)+2
= 1+(1+(1+2))+2
= 1+5+1
= 1+(1+2+1*2)+1
= 1+(1+2*2)+1
= 1+(1+3+1)+1
= 1+(1+(1+2)+1)+1
= 1+(1+4)+1
= 1+(1+(1+2+1))+1
= 1+(1+(1+3))+1
= 1+(1+(1+(1+2)))+1
= 1+6
= 1+(1+2+1*3)
= 1+(1+2*2+1)
= 1+(1+3+1*2)
= 1+(1+(1+2)+1*2)
= 1+(1+3+2)
= 1+(1+(1+2)+2)
= 1+(1+4+1)
= 1+(1+(1+2+1)+1)
= 1+(1+(1+3)+1)
= 1+(1+(1+(1+2))+1)
= 1+(1+5)
= 1+(1+(1+2+1*2))
= 1+(1+(1+2*2))
= 1+(1+(1+3+1))
= 1+(1+(1+(1+2)+1))
= 1+(1+(1+4))
= 1+(1+(1+(1+2+1)))
= 1+(1+(1+(1+3)))
= 1+(1+(1+(1+(1+2))))
r7 = 48
I am Jesse Sakari Hyttinen and I will see you in the next post!
Comments