|
| |
|
|
A141453
|
|
A prime p is included if p is 1 from a power of 2. (2^k + 1 = p or 2^k - 1 = p, k>=0.).
|
|
1
| |
|
|
2, 3, 5, 7, 17, 31, 127, 257, 8191, 65537, 131071, 524287, 2147483647, 2305843009213693951, 618970019642690137449562111, 162259276829213363391578010288127, 170141183460469231731687303715884105727
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| Sequence consists of 2 and the union of the Mersenne primes (A000668) and the Fermat primes (A019434).
a(18) has 157 digits and is too large to include. - Chandler
|
|
|
MATHEMATICA
| Select[Prime[Range[30000]], Length[FactorInteger[#-1]]==1 || Length[FactorInteger[#+1]]==1&] (* From Vladimir Joseph Stephan Orlovsky, Feb 03 2012 *)
|
|
|
CROSSREFS
| Cf. A000668, A019434.
Sequence in context: A103382 A143027 A001153 * A100532 A040149 A168034
Adjacent sequences: A141450 A141451 A141452 * A141454 A141455 A141456
|
|
|
KEYWORD
| nonn,changed
|
|
|
AUTHOR
| Leroy Quet Aug 07 2008
|
|
|
EXTENSIONS
| More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 23 2009
a(17) from Ray Chandler (rayjchandler(AT)sbcglobal.net), Jun 22 2009
|
| |
|
|