OFFSET
1,1
COMMENTS
The primes not in the sequence are 43, 53, 83, 89, 101, 103, 107, 109, 139,... - R. J. Mathar, Sep 18 2009
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Ernest G. Hibbs, Component Interactions of the Prime Numbers, Ph. D. Thesis, Capitol Technology Univ. (2022), see p. 33.
Jerome A. Solinas, Generalized Mersenne numbers (1999)
Wikipedia, Solinas prime
FORMULA
Trivially, a(n) >> exp(sqrt(2n)). - Charles R Greathouse IV, Dec 04 2012
EXAMPLE
3 = 2^3 - 2^2 - 1.
5 = 2^3 - 2^2 + 1.
7 = 2^4 - 2^3 - 1.
11 = 2^3 + 2^2 - 1.
13 = 2^3 + 2^2 + 1.
17 = 2^5 - 2^4 + 1.
19 = 2^4 + 2^2 - 1.
23 = 2^4 + 2^3 - 1.
PROG
(PARI) go(n)=my(v=List(), ta, tb); for(a=2, n, ta=2^a; tb=1; for(b=1, a-1, tb<<=1; if(ispseudoprime(ta+tb+1), listput(v, ta+tb+1)); if(ispseudoprime(ta+tb-1), listput(v, ta+tb-1)); if(ispseudoprime(ta-tb+1), listput(v, ta-tb+1)); if(ispseudoprime(ta-tb-1), listput(v, ta-tb-1)))); vecsort(Vec(v), , 8) \\ Charles R Greathouse IV, Dec 04 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Muljadi, Sep 11 2009
EXTENSIONS
More terms from Max Alekseyev and R. J. Mathar, Sep 17 2009
STATUS
approved