6a01543429fb37970c01b8d21c4a22970c-800wi

Paying homage to our fondness of brain-teasers, every month we post a new challenge created by the Forensic Technology team, focusing on logical, analytical and coding problems.


Analysing data for patterns/trends is an important part of what we do in Forensic Technology. With this in mind we have returned to our programming roots for this month’s challenge. Can you write a script to solve the below…?


i) What are the factors of 379065191139531?

ii) What connects 35432488 with these numbers: 806095675586097, 7405814774826 and 379065191139531

We’ll be posting our Python based solution next month at which point we will bid you farewell for the year. We hope to be back next year with more puzzles but in a different format so make sure you keep an eye out for our return!

Enjoyed this? Check out our other Forensic Technology blog posts


If you are someone who enjoys problem-solving, logical thinking and technology, check out our Forensic Technology graduate professional roles to see if they are the right fit.

 

What's the answer?

For the final time this year we present our solution to the challenge we have set you:

i) Below is the code we used in Python 3.5 to calculate the factors of 379065191139531:

Image001

ii) As alluded to in part i) the first step to solving ii) is to get the factors of 806095675586097, 7405814774826 and 379065191139531. The next part is not so obvious. First we need the common factors of the 3 numbers we were just looking at. Then with some outside-the-box thinking we sum over these common factors to arrive at 35432488.

The code to do this is below:

Image002

We hope to be back next year bigger and better so keep a look out for future posts.

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.