Join Our Team
We are always looking for all-around engineers, people that have bold approach to problem solving, are not afraid to get their hands dirty and are easy to talk to.
Benefits
Vacations
Enjoy well-deserved time off with our generous vacation policy.
Competitive Salaries
We offer competitive compensation packages that reflect your skills and experience.
Dynamic Environment
Work on challenging tasks in a dynamic and innovative environment.
Coding Challenge
💼 Fibonacci Prime Email Decoder
📌 Background
A former developer at Pixen left behind a strange piece of code that was used to generate a hidden email address. It uses the Fibonacci sequence and prime numbers in a rather unusual way. Your mission is to decode this logic and reconstruct the email.
🧠 Your Task
Implement a program (in any programming language of your choice) that performs the following steps:
- Generate the first 61 Fibonacci numbers, starting with F(0) = 0 and F(1) = 1.
- For each index n between 20 and 60 (inclusive):
- Check if n is a prime number.
- If it is, take the nth Fibonacci number F(n) and:
- If the number of digits is odd, extract the single middle digit.
- If the number of digits is even, extract the two middle digits (starting from the center).
- Append all the extracted digits together to build a sequence.
- Use the resulting sequence to generate the following email: [sequence]@pixenverse.com
💡 Example (Not Actual Output)
If the extracted digits were 123456, the resulting email would be:
123456@pixenverse.com
🧩 Final Twist: Add the Secret Letter
To fully complete the challenge, you must append one final letter to the end of your sequence before the @pixen.se domain.
But it's not given to you directly. Instead, solve this riddle:
“I'm the last to arrive, though I often come first in a race of letters. You'll find me only after 25 others. Who am I?”
✅ Final Output Format
[sequence + secret_letter]@pixenverse.com
Good luck, and happy decoding!