summation (1/2**i,(i,0,oo ))
len(str(2))
factorint(2, limit=100)
factorint(2, limit=256)
Need more control? Try SymPy Live.