Every week, we will be releasing a new puzzle for you to solve. You may use any language you want but feel free to try something new. After completing puzzles, create a ticket on our Discord server and send us your solution. At the end of every week, we will review the problem during our meeting.
Santa started on Floor 0 of his workshop when he started his log. Each number represents the number of floors he traveled. A positive number means that he traveled to a higher floor, while a negative number means that he traveled to a lower floor. After Santa finished his travel, he placed the gifts on the floor he ended up on.
Note that Santa's workshop has floors below Floor 0.
On what floor are the gifts located?
After completing part 1, enter your answer below to view part 2.
Enter your answer:
Week of October 26
This Saturday, you go trick or treating in your neighborhood. After a few hours, you no longer recognize any of the houses and you realize that you're lost. You see a very long street of houses and decide to get candy from that street, then find out where you are.
You ring on the door of the first house on this very long street and a witch greets you. She says,
If you have an even number of candies, you give me half your candy. But if you have an odd number of candies I triple your candy amount and then add one more.
You think this sounds a little fishy, so you turn to walk away, but the entrance is gone. Seeing no escape, you have no choice but to listen.
After making your way past this house, you notice that this was only the first of a row of 250 houses, all with the same strange deal. You must visit each house in order before exiting this strange street.
Assuming you can bring a maximum of 100,000 candies into the first house, what is the maximum number of candy you can exit with after visiting all 250 houses?
Week of October 19
A magician has a deck of 52 cards, and performs a magic trick. During the magic trick, cards are pulled out and replaced under specific conditions.
The magician checks each of these conditions in order. If the condition is satisfied, the magician performs the associated action, which may affect the next condition.
If the number of cards is even, remove 4 cards from the deck
If the number of cards is odd, remove 2 cards from the deck.
If the there are more than 30 cards in the deck, remove 1 card from the deck.
If the there are less than 20 cards in the deck, add 1 card to the deck.
Cards are removed and added from a secondary hidden pile. The number of cards in the secondary pile is unlimited. During the magic trick, the number of cards in the main deck may exceed 52.
The magician repeats this magic trick until there is only one card left in the pile. How many times does the magician perform this trick?
Week of October 12
A palindromic number is one such that written backward, its digits match that of the original value.
Examples of palindromic numbers include: 262, 27972, 62988926
Find the smallest number above 1000 that is both palindromic and prime.