921 views

### Get me out of here

Challenge Given a grid size, obstacles' positions, player position and target position your task is to find a path for the player to get to the target and avoid the obstacles at the same time (if ...
1k views

### Fastest tweetable integer factorizer

The task is to find a non-trivial factor of a composite number. Write code that finds a non-trivial factor of a composite number as quickly as possible subject to your code being no more than 140 ...
606 views

### Bubble the brackets!

There are a few questions on this site about balancing brackets, and checking whether brackets are balanced. I propose it's now time to use those balanced brackets for something! In mathematics and ...
746 views

### The Traveling O

The world is a five by five array of cells. It wraps on all sides. It can be visualized like... XXXXX XXXXX XXOXX XXXXX XXXXX You are an O. You love to travel the world, and you do so according to ...
461 views

### Swap program halves to test divisors

Four integer sequences In this challenge, you will test four different properties of a positive integer, given by the following sequences. A positive integer N is perfect (OEIS A000396), if the sum ...
676 views

### Find the missing number in an undelimited string

The challenge is to identify the missing number in a string of undelimited integers. You are given a string of digits (valid input will match the regular expression ...
2k views

### Shortest path for a chess knight

Your program should compute the number of moves it takes a chess knight to reach each square of the chess board. The input will be two space-separated integers representing coordinates of the ...
722 views

### Dominate a zero-sum game

Consider a zero-sum game with 2 contestants. Each round, each contestant chooses, independently of each other, one of $n \ge 2$ different choices. Depending on the two chosen choices, one player is ...
820 views

What is the shortest way we can express the function f(a,b)(c,d)=(a+c,b+d) in point-free notation? pointfree.io gives us ...
398 views

### Harmonious “Convergence”

The Alternating Harmonic Series is a well known convergent series. "Clearly", it is obvious that it converges to the natural log of 2. Or does it? Since the series is not absolutely convergent, by ...
677 views

### 2D Dungeon Crawler

Your program has to take a multi-lined string, like this: ############# # # # p # # # ############# ...
181 views

### Chiral three dimensional texts

Two dimensional chiral objects are not chiral in three dimensional space. This is because you can flip them over which is equivalent to taking the mirror image unlike in two dimensions where only ...
300 views

### The one counting challenge to rule them all!

Background Mathematicians are interested in all kinds of algebraic structures, e.g. groups, rings, boolean algebras. Generally, we have several operations (addition, multiplication, meet, join, etc.), ...