Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 67881

A code challenge is a competition for creative ways to solve a programming puzzle with an objective winning criterion not covered by other scoring tags (e.g. code-golf).

2 votes

Goodbye Cruel World!

TI-BASIC, 24 bytes (which happens to be 4!) :Disp "GOODBYE CRUEL WORLD! :{ Displays the string, then partially defines a list, causing a syntax error.
Scott Milner's user avatar
  • 1,876
3 votes

One OEIS after another

90. Open Shading Language (OSL), 66 bytes, A000201 shader abc(int i=1, output float o=1){o=floor(i*((1+sqrt(5))/2));} Next Sequence
Scott Milner's user avatar
  • 1,876
8 votes

One OEIS after another

26. TI-BASIC, 274 bytes, A000183 .5(1+√(5→θ "int(.5+θ^X/√(5→Y₁ "2+Y₁(X-1)+Y₁(X+1→Y₂ {0,0,0,1,2,20→L₁ Prompt A Lbl A If A≤dim(L₁ Then Disp L₁(A Else 1+dim(L₁ (~1)^Ans(4Ans+Y₂(Ans))+(Ans/(Ans-1))((Ans+1 …
Scott Milner's user avatar
  • 1,876
5 votes

One OEIS after another

57. Desmos, 119 bytes, A000138 f\left(n\right)=n!\sum _{i=0}^{\operatorname{floor}\left(\frac{n}{4}\right)}\frac{\left(-1\right)^i}{i!\cdot 4^I} Try It Online! Next Sequence
Scott Milner's user avatar
  • 1,876