Skip to main content

All Questions

Tagged with
13 votes
6 answers
373 views

Decode Factor Trees

In case you missed Encode Factor Trees, here is the definition of a Factor Tree: The empty string is 1. Concatenation represents multiplication. A number n enclosed in parentheses (or any ...
Nissa's user avatar
  • 3,634
19 votes
10 answers
862 views

A simple number system

Let me tell you about a simple number system. (which I made up just for this challenge) This system contains the functions (), ...
Oliver Ni's user avatar
  • 10.6k
31 votes
19 answers
3k views

Motzkin Numbers

The nth Motzkin Number is the number of paths from (0, 0) to (n, 0) where each step is of the form (1, -1), (1, 0) or (1, 1), and the path never goes below y = 0. Here's an illustration of these paths ...
izzyg's user avatar
  • 42.1k
32 votes
40 answers
3k views

Parenthifiable Binary Numbers

If you express some positive integer in binary with no leading zeros and replace every 1 with a ( and every ...
Calvin's Hobbies's user avatar
43 votes
17 answers
3k views

{Curly Numbers};

In the esoteric programming language Curly, programs consist solely of curly braces {} and semicolons ;. Despite this humble ...
DLosc's user avatar
  • 39.8k