Table of divisors by primo

r=range(1,int(input())+1)
for n in r:print('%d:1'%n,*(i for i in r if n%i<1<i))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page