You are viewing a single comment's thread. Return to all comments →
print(int((1/81)*(((10**i)-1))**2))
It's called a Demlo Number and for n<=9 it is true. I only get 12 points from 20 though :)
Seems like cookies are disabled on this browser, please enable them to open this website
Triangle Quest 2
You are viewing a single comment's thread. Return to all comments →
print(int((1/81)*(((10**i)-1))**2))
It's called a Demlo Number and for n<=9 it is true. I only get 12 points from 20 though :)