login
This site is supported by donations to The OEIS Foundation.

 

Logo

The submissions stack has been unacceptably high for several months now. Please voluntarily restrict your submissions and please help with the editing. (We don't want to have to impose further limits.)

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165255 Solinas primes; primes of the form p = 2^a +/- 2^b +/- 1 where 0 < b < a. 1
3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 47, 59, 61, 67, 71, 73, 79, 97, 113, 127, 131, 137, 191, 193, 223, 239, 241, 251, 257, 263, 271, 383, 449, 479, 503, 509, 521, 577, 641, 769, 991, 1009, 1019, 1021, 1031, 1033, 1039, 1087, 1151, 1153, 1279, 2017 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The primes not in the sequence are 43, 53, 83, 89, 101, 103, 107, 109, 139,... [From R. J. Mathar, Sep 18 2009]

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000

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

Triples (a,b,p) are (3,2,3), (3,2,5), (4,3,7), (3,2,11), (3,2,13), (5,4,17), (4,2,19), (4,3,23), (5,2,29), (6,5,31), (5,2,37), (5,3,41), (5,4,47), (6,2,59). [From R. J. Mathar, Sep 18 2009]

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

Sequence in context: A020615 A172146 A225670 * A223036 A155058 A007703

Adjacent sequences:  A165252 A165253 A165254 * A165256 A165257 A165258

KEYWORD

nonn

AUTHOR

Paul Muljadi, Sep 11 2009

EXTENSIONS

More terms from Max Alekseyev and R. J. Mathar, Sep 17 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified August 28 15:16 EDT 2015. Contains 261125 sequences.