#thanks Mathblog 
import numpy as np 
targ=100
valu=[]
valu=np.zeros(targ+1)
valu[0]=1
for i in range(1,targ+1):
    for j in range(i,targ+1):
        valu[j]+=valu[j-i]
print(valu[-1])

6ac1f5d9a5ae9eddf5aee48193d25805c09185c0
<mask token>

<mask token>
for i in range(1, targ + 1):
    for j in range(i, targ + 1):
        valu[j] += valu[j - i]
print(valu[-1])

<mask token>
targ = 100
valu = []
valu = np.zeros(targ + 1)
valu[0] = 1
for i in range(1, targ + 1):
    for j in range(i, targ + 1):
        valu[j] += valu[j - i]
print(valu[-1])

import numpy as np
targ = 100
valu = []
valu = np.zeros(targ + 1)
valu[0] = 1
for i in range(1, targ + 1):
    for j in range(i, targ + 1):
        valu[j] += valu[j - i]
print(valu[-1])

#thanks Mathblog 
import numpy as np 
targ=100
valu=[]
valu=np.zeros(targ+1)
valu[0]=1
for i in range(1,targ+1):
    for j in range(i,targ+1):
        valu[j]+=valu[j-i]
print(valu[-1])
