The most wanted primes + bonus prime

By Cooldudue | My Coding adventure | 9 May 2022


Hello everyone

I recently watched a Numberphile video where Neil shows an interesting sequence of numbers. In the end, I felt a bit empty since a prime number of this kind should exist but unfortunately, we have not been able to find one for the last sequence. I wrote some code in python that if you let it run long enough it will eventually find one. I hope. I think. There might be an issue if the int is too big. A bonus sequence I coded, by accident, is the sequence of all of the digits repeating themselves until ten. For example 123456789101234... This wasn't a difficult challenge but it was definitely an interesting one. For the palindrome prime the highest I've gone to is 21 and for the most wanted 133. 

Check out my GitHub to see more of my work and thank you for reading.

How do you rate this article?


1

0


My Coding adventure
My Coding adventure

Hello, I am a recent graduate from the University of Cape Town. I have a Bachelor of Science in Mathematics and Applied Mathematics. I am interested in becoming a developer. If you are interested in hiring please check out my CV and we can get in contact. I will be posting any projects I am working on here. My Java is a little rusty so I will be working on small problems to familiarise myself again. My CV: https://docs.google.com/document/d/1qVs7YYqWrkn70xxv6EdDgAH3k7LVA2unwC8tLzQCS4M/edit?usp=sharing

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.