Code Editor

AخA
 
1
function findSequence(goal) {                                             function find( start, history ) {                                                 if (start === goal) {                                                     return history;                                               } else if ( start >goal ) {                                               return null;                                                  } else {                                                  return find(start + 5, "(" + history + " + 5)") || find(start * 3, "(" + history + " * 3)");                                                  }                                                                                               return find(1, "1");                                                  }                                             }
x
 
1

Mixed HTML Example

1
 
1
/* Some example CSS */                                                                                          @import url("something.css");                                                                                           body {                                          margin: 0;                                              padding: 3em 6em;                                               font-family: tahoma, arial, sans-serif;                                         color: #000;                                            }                                                                                               #navigation a {                                         font-weight: bold;                                              text-decoration: none !important;                                               }                                                                                               h1 {                                            font-size: 2.5em;                                               }                                                                                               h2 {                                            font-size: 1.7em;                                               }                                                                                               h1:before, h2:before {                                          content: "::";                                          }                                                                                               code {                                          font-family: courier, monospace;                                                font-size: 80%;                                         color: #418A8A;                                         }