Skip to main content
Commonmark migration
Source Link

##Python 3, 50 bytes, CAD97, A004242

Python 3, 50 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it online

Output:

a(1) => 0
a(10) => 2303

##Python 3, 50 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it online

Output:

a(1) => 0
a(10) => 2303

Python 3, 50 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it online

Output:

a(1) => 0
a(10) => 2303
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

##Python 3, 50 bytes, CAD9750 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it online

Output:

a(1) => 0
a(10) => 2303

##Python 3, 50 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it online

Output:

a(1) => 0
a(10) => 2303

##Python 3, 50 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it online

Output:

a(1) => 0
a(10) => 2303
added 6 characters in body
Source Link
user45941
user45941

##Python 3, 50 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it onlneTry it online

Output:

a(1) => 0
a(10) => 2303

##Python 3, 50 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it onlne

Output:

a(1) => 0
a(10) => 2303

##Python 3, 50 bytes, CAD97, A004242

from math import    *
a=lambda n:ceil(1000*log(n))

Try it online

Output:

a(1) => 0
a(10) => 2303
Source Link
user45941
user45941
Loading