For the writers and the word nerds out there, there are palindromic primes, or palprimes. It's exactly what it says on the box, they are primes that are the same backwards and forwards. 11 is palprime. 919 is palprime. My obsession, 1000000000000066600000000000001, is palprime, but I'll talk about that more tomorrow. There are plenty of programming challenges out there for writing script that produces prime numbers. It's a good challenge, really. Given an integer, produce the smallest prime that is also a palprime greater than the given integer. It's a good challenge, because not only would you have to check and see if the number has any factors, but the script would also have to check and see if it's the same number forwards and backwards. If I can get back on my schedule today, I'll take a crack at it with bash. Don't count on it though.
Numbers can be happy, and so can primes. Start with an integer, any integer. (I keep saying integer. Just pick a number that's not negative, is not a fraction, and doesn't have decimal) Say, 44. First, square both numbers, so 42 and 42. Add them together, 16 + 16 to get 32, then repeat. So, 32 + 22 = 13, and 12 + 32 is 10 and 12 + 02 is 1. If the sequence ends in one, then it is happy. If it doesn't end in one, then it loops forever. A happy prime is a happy number that is prime. The first 5 are 7, 13, 19, 23, 31. Feel free to work out the rest.
|Visual Representation of Eisenstein Primes|
Primes act in strange ways. Honestly, there are many more types of primes, because primes are the elements of multiplication.
Stupid Wednesday threw me off my schedule, but whatever. The point of this month is partly to prepare for next month, so I'll work around busy stupid Wednesdays. Argh. Tomorrow will be Belphgor's prime, so If I can't do bash today, then bash will work into what I want to do tomorrow.