cp's OEIS Frontend

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.

Showing 1-4 of 4 results.

A076336 (Provable) Sierpiński numbers: odd numbers n such that for all k >= 1 the numbers n*2^k + 1 are composite.

Original entry on oeis.org

78557, 271129, 271577, 322523, 327739, 482719, 575041, 603713, 903983, 934909, 965431, 1259779, 1290677, 1518781, 1624097, 1639459, 1777613, 2131043, 2131099, 2191531, 2510177, 2541601, 2576089, 2931767, 2931991, 3083723, 3098059, 3555593, 3608251
Offset: 1

Views

Author

N. J. A. Sloane, Nov 07 2002

Keywords

Comments

"Provable" in the definition means provable by any method (whether using a covering set or not). - N. J. A. Sloane, Aug 03 2024
It is only a conjecture that this sequence is complete up to 3000000 - there may be missing terms.
It is conjectured that 78557 is the smallest Sierpiński number. - T. D. Noe, Oct 31 2003
Sierpiński numbers may be proved by exhibiting a periodic sequence p of prime divisors with p(k) | n*2^k+1 and disproved by finding a prime n*2^k+1. It is conjectured by some people that numbers that cannot be proved to be Sierpiński by this method are non-Sierpiński. However, some numbers resist both proof and disproof. - David W. Wilson, Jan 17 2005 [Edited by N. J. A. Sloane, Aug 03 2024]
Sierpiński showed that this sequence is infinite.
There are four related sequences that arise in this context:
S1: Numbers n such that n*2^k + 1 is composite for all k (this sequence)
S2: Odd numbers n such that 2^k + n is composite for all k (apparently it is conjectured that S1 and S2 are the same sequence)
S3: Numbers n such that n*2^k + 1 is prime for all k (empty)
S4: Numbers n such that 2^k + n is prime for all k (empty)
The following argument, due to Michael Reid, attempts to show that S3 and S4 are empty: If p is a prime divisor of n + 1, then for k = p - 1, the term (either n*2^k + 1 or 2^k + n) is a multiple of p (and also > p, so not prime). [However, David McAfferty points that for the case S3, this argument fails if p is of the form 2^m-1. So it may only be a conjecture that the set S3 is empty. - N. J. A. Sloane, Jun 27 2021]
a(1) = 78557 is also the smallest odd n for which either n^p*2^k + 1 or n^p + 2^k is composite for every k > 0 and every prime p greater than 3. - Arkadiusz Wesolowski, Oct 12 2015
n = 4008735125781478102999926000625 = (A213353(1))^4 is in this sequence but is thought not to satisfy the conjecture mentioned by David W. Wilson above. For this multiplier, all n*2^(4m + 2) + 1 are composite by an Aurifeuillean factorization. Only the remaining cases, n*2^k + 1 where k is not 2 modulo 4, are covered by a finite set of primes (namely {3, 17, 97, 241, 257, 673}). See Izotov link for details (although with another prime set). - Jeppe Stig Nielsen, Apr 14 2018
Conjecture: if S is a (provable) Sierpiński number, then there exists a prime P such that S^p is also a Sierpiński number for every prime p > P. - Thomas Ordowski, Jul 12 2022
Problem: are there odd numbers K such that K - 2^m is a Sierpiński number for every 1 < 2^m < K? If so, then all positive values of (K - 2^m)*2^n + 1 are composite. Also, by the dual Sierpiński conjecture, K - 2^m + 2^n is composite for every 1 < 2^m < K and for every n > 0. Note that, by the dual Sierpiński conjecture, if p is an odd prime and 1 < 2^m < p, then there exists n such that (p - 2^m)*2^n + 1 is prime. So if such a number K exists, it must be composite. - Thomas Ordowski, Jul 20 2022
From M. F. Hasler, Jul 23 2022: (Start)
1) The above Conjecture is true for Sierpiński numbers provable by a "covering set", with P equal to the largest prime factor of the elements of that set*, according to the explanation from Michael Filaseta posted Jul 12 2022 on the SeqFan mailing list, cf. links. (*More generally: for S^p with any p coprime to all elements of the covering set, but not necessarily prime.)
2) Wilson's comment from 2005 (also the first part, not only the conjecture) is misleading if not wrong because there are provable Sierpiński numbers for which a covering set is not known (maybe even believed not to exist), as explained by Nielsen in his above comment from 2018. (End)

References

  • R. K. Guy, Unsolved Problems in Number Theory, Section B21.
  • C. A. Pickover, The Math Book, Sterling, NY, 2009; see p. 420.
  • Paulo Ribenboim, The Book of Prime Number Records, 2nd. ed., 1989, p. 282.
  • Paulo Ribenboim, The Little Book of Bigger Primes, Springer-Verlag NY 2004. See pp. 237-238.

Crossrefs

A094076 Smallest k such that prime(n) + 2^k is prime, or -1 if no such prime exists.

Original entry on oeis.org

0, 1, 1, 2, 1, 2, 1, 2, 3, 1, 4, 2, 1, 2, 5, 3, 1, 8, 2, 1, 4, 2, 7, 3, 2, 1, 2, 1, 2, 7, 2, 3, 1, 10, 1, 4, 4, 2, 5, 3, 1, 4, 1, 2, 1, 6, 4, 2, 1, 2, 3, 1, 4, 5, 9, 3, 1, 20, 2, 1, 6, 7, 2, 1, 2, 5, 4, 4, 1, 2, 27, 3, 4, 4, 2, 15, 3, 2, 3, 10, 1, 8, 1, 4, 2, 7, 3, 2, 1, 2, 5, 3, 2, 3, 2, 7, 5, 1, 6, 4, 4, 9, 3, 1
Offset: 1

Views

Author

Reinhard Zumkeller, Apr 29 2004

Keywords

Comments

Conjecture: k > 0 for all n.
For all primes p < 1000 there exists a k such that p + 2^k is prime. However, for p = prime(321) = 2131, p + 2^k is not prime for all k < 30000. The conjecture may be in question. Similarly, I cannot find k such that p + 2^k is prime for p = 7013, 8543, 10711, 14033 for k < 20000. - Cino Hilliard, Jun 27 2005
prime(80869739673507329) = 3367034409844073483, so a(80869739673507329) = -1 since 2^k + 3367034409844073483 is covered by {3, 5, 17, 257, 641, 65537, 6700417}. - Charles R Greathouse IV, Feb 08 2008
k=271129 is a smaller counterexample: gcd(k+2^n,2^24-1)>1 always holds using (1 mod 2, 0 mod 4, 2 mod 8, 6 mod 24, 14 mod 24 and 22 mod 24) as a covering for the n's. k with gcd(k+2^n,2^24-1)>1 always true were first found by Erdos (see refs). - Bruno Mishutka (bruno.mishutka(AT)googlemail.com), Mar 11 2009

Examples

			p = 773, k = 995, p + 2^k is prime.
p = 5101, k = 5760, p + 2^k is prime.
		

References

  • A. O. L. Atkin and B. J. Birch, eds., Computers in Number Theory, Academic Press, 1971, page 74.

Crossrefs

Programs

  • Mathematica
    sk[n_]:=Module[{p=Prime[n],k=1},While[!PrimeQ[p+2^k],k++];k]; Join[{0}, Array[sk,110,2]] (* Harvey P. Dale, Jul 07 2013 *)
  • PARI
    pplus2ton(n,m) = { local(k,s,p,y,flag); s=0; forprime(p=2,n, flag=1; for(k=0,m, y=p+2^k; if(ispseudoprime(y), print1(k, ", "); s++; flag=0; break) ); if(flag, return(p))); print(); print(s); } \\ Cino Hilliard, Jun 27 2005

Extensions

More terms from Don Reble, May 02 2004
More terms from Cino Hilliard, Jun 27 2005
More terms from Charles R Greathouse IV, Feb 08 2008

A215850 Primes p such that 2*p + 1 divides Lucas(p).

Original entry on oeis.org

5, 29, 89, 179, 239, 359, 419, 509, 659, 719, 809, 1019, 1049, 1229, 1289, 1409, 1439, 1499, 1559, 1889, 2039, 2069, 2129, 2339, 2399, 2459, 2549, 2699, 2819, 2939, 2969, 3299, 3329, 3359, 3389, 3449, 3539, 3779, 4019, 4349, 4409, 4919, 5039, 5279, 5399, 5639
Offset: 1

Views

Author

Arkadiusz Wesolowski, Aug 24 2012

Keywords

Comments

An equivalent definition of this sequence: 5 together with primes p such that p == -1 (mod 30) and 2*p + 1 is also prime.
Sequence without the initial 5 is the intersection of A005384 and A132236.
These numbers do not occur in A137715.
From Arkadiusz Wesolowski, Aug 25 2012: (Start)
The sequence contains numbers like 1409 which are in A053027.
a(n) is in A002515 if and only if a(n) is congruent to -1 mod 60. (End)

Examples

			29 is in the sequence since it is prime and 59 is a factor of Lucas(29) = 1149851.
		

Crossrefs

Supersequence of A230809. Cf. A000032, A132236.

Programs

  • Magma
    [5] cat [n: n in [29..5639 by 30] | IsPrime(n) and IsPrime(2*n+1)];
    
  • Mathematica
    Select[Prime@Range[740], Divisible[LucasL[#], 2*# + 1] &]
    Prepend[Select[Range[29, 5639, 30], PrimeQ[#] && PrimeQ[2*# + 1] &], 5]
  • PARI
    is_A215850(n)=isprime(n)&!real((Mod(2,2*n+1)+quadgen(5))*quadgen(5)^n) \\ - M. F. Hasler, Aug 25 2012

A263645 Primes that are neither of the form p + 2^k nor of the form p - 2^k with k > 0, and p prime.

Original entry on oeis.org

2, 52504261, 55414847, 79933129, 152485283, 166441831, 177702619, 197903207, 199013093, 220403959, 226794259, 230701763, 245215801, 266642731, 304921637, 321979283, 335035097, 355404353, 359018299, 369810769, 388048561, 412590797, 445661719, 506400173, 540426473
Offset: 1

Views

Author

Arkadiusz Wesolowski, Oct 22 2015

Keywords

Comments

Primes p such that for all k > 0 the numbers p + 2^k and p - 2^k are nonprimes.
Except for 2, this sequence is the intersection of A065381 and A137715.

Crossrefs

Showing 1-4 of 4 results.