Timeline for Find the program that prints this integer sequence (Robbers' thread)
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Apr 13, 2017 at 12:39 | history | edited | CommunityBot |
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
|
|
Apr 11, 2016 at 3:51 | comment | added | CAD97 |
The original was the slightly more literal a=lambda n:int(3**(n/2)-1 if n%2==0 else 2*3**(n/2-1/2)-1) , but this works as well and is golfier. GG
|
|
Apr 11, 2016 at 3:37 | history | answered | feersum | CC BY-SA 3.0 |