[maths] 2n+n²-1 with evens
danwdart opened this issue · 1 comments
danwdart commented
https://www.youtube.com/watch?v=ctC33JAV4FI
I was doing some math and found that (2n)+(n^2)-1 created primes very well if n is even. Example: (2 x 99922222222220)+(99922222222220^2)-1 is prime. I also saw that up to 200 being n (leaving out odd numbers) it spit out a prime 42% of the time.
danwdart commented
This ends up quite interesting, but it's already in the oeis.