A152589 Primes of the form 15^(2^k) + 2.
17, 227, 50627, 6568408355712890627
Offset: 1
Keywords
Programs
-
PARI
g(a,n) = if(a%2, b=2, b=1); for(x=0, n, y=a^(2^x)+b; if(ispseudoprime(y), print1(y, ", "))) g(15, 4)
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
g(a,n) = if(a%2, b=2, b=1); for(x=0, n, y=a^(2^x)+b; if(ispseudoprime(y), print1(y, ", "))) g(15, 4)