In Forensic Technology complex problem solving is a large part of our day-to-day work.
Paying homage to our fondness of brain-teasers, we’re launching a monthly Forensic Technology Challenge - a new series of logical, analytical and coding problems that put into practice the STEM, finance and technology skills essential to our work.
Every month we’ll post a new challenge created by the Forensic Technology team, focusing on one of these skills. You can solve these problems in any way that you want. We’re looking forward to seeing the different ways that you approach them!
Without further ado, here is the first challenge straight from the Forensic Technology hive-mind:
Of the first 2016 prime numbers, which ones have digits that sum to 13?
Our solution involved creating a Python script to do all of the heavy-lifting, but this is only one tactic. What was your method?
We’ll be posting how we solved this next month, along with Challenge #2. Don't forget to look out for our bonus question next week!
What's the answer?
Here’s what you’ve been waiting for, the solutions to the first #4TechChallenge posted last month as well as the answer to the bonus question.
So without further ado here is the Python script we used to generate the list of primes and subsequently find how many had their digits sum to a specified total. (Note we used Python 3.5.1.)
Of the first 2016 prime numbers, 141 have their digits sum to 13. Here is the complete list of them:
If you've enjoyed this quiz, have a go at the Bonus Question and keep an eye on the blog for more quizzes to come.