Created by manuel-eleve-tle-specialite-indice2020
Created on May 29, 2020
113 Bytes
def algo(p): u=1 n=0 while u<=10**p: u=2*u-n+3 n=n+1 return n