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.

Previous Showing 31-40 of 72 results. Next

A133832 Least number k > n such that the binary trinomial 1 + 2^n + 2^k is prime, or 0 if there is no such k.

Original entry on oeis.org

2, 3, 5, 13, 6, 7, 9, 9, 18, 19, 14, 13, 15, 17, 17, 81, 20, 19, 30, 33, 26, 27, 38, 81, 27, 35, 31, 33, 35, 31, 42, 458465, 36, 45, 47, 37, 67, 53, 41, 57, 42, 45, 46, 69, 54, 57, 53, 1009, 100, 119, 55, 73, 83, 67, 57, 1265, 74, 69, 66, 113, 75, 101, 66, 2241, 68, 67, 70
Offset: 1

Views

Author

T. D. Noe, Sep 26 2007

Keywords

Comments

Conjecture: a(n) is nonzero for all n. These binary trinomials can also be written as f*2^n+1, where f=2^m+1 for some m, which is reminiscent of the Sierpinski problem (see A076336). The conjecture is equivalent to no Sierpinski numbers of the form 2^m+1 existing.
The PFGW program was used to find a(32), which produces a 138012-digit probable prime.

Crossrefs

Cf. A057732, A059242, A057196, A057200, A081091 (various forms of prime binary trinomials).
Cf. A095056, A133830 (k < n equivalent), A133831.

Programs

  • Mathematica
    mx=4000; Table[s=1+2^n; k=n+1; While[k
    				

Extensions

Edited by Peter Munn, Sep 29 2024

A222534 Smallest Sierpinski number that is divisible by the n-th prime.

Original entry on oeis.org

7592506760633776533, 36293948155, 157957457, 603713, 422590909, 78557, 6134663, 1259779, 575041, 7892569, 2931991, 4095859, 2541601, 7892569, 29169451, 271577, 35193889, 12824269, 603713, 9454157, 575041, 7696009, 5455789, 41561687, 7400371, 2191531, 29046541, 2931991
Offset: 2

Views

Author

Arkadiusz Wesolowski, Feb 24 2013

Keywords

Comments

For an odd prime p and odd k, if p divides k, then p does not divide k*2^n + 1 for any n.

Examples

			603713 is first Sierpinski number that is divisible by 11, the 5th prime - so a(5) = 603713.
		

Crossrefs

Extensions

Offset changed and initial term added by Arkadiusz Wesolowski, May 11 2017
a(2) corrected by Arkadiusz Wesolowski, Jul 27 2023

A233469 Values of n for which n^4 is a Sierpiński number.

Original entry on oeis.org

1184063, 15563117, 39561841, 44745755, 45863441, 58314521, 60763153, 68431649, 75453907, 82083455, 83399857, 106710191, 113838391, 119740159, 122257855, 131184493, 133460867, 158678257, 176038571, 178694285, 184874237, 187552705, 189773297, 190928123
Offset: 1

Views

Author

Arkadiusz Wesolowski, Apr 19 2014

Keywords

Crossrefs

Supersequence of A213353. Cf. A076336.

Extensions

More terms from Arkadiusz Wesolowski, Oct 14 2015

A236320 Conjectured number of Sierpiński numbers less than 10^n.

Original entry on oeis.org

0, 0, 0, 0, 1, 11, 69, 677, 6709
Offset: 1

Views

Author

Arkadiusz Wesolowski, Jan 22 2014

Keywords

Crossrefs

Formula

a(n) ~ A236321(n).

A244564 Odd integers n such that for every integer k>0, n * 2^k + 1 has a divisor in the set { 3, 5, 7, 13, 19, 73, 109 }.

Original entry on oeis.org

934909, 1259779, 6828631, 11822359, 12151397, 15285707, 17220887, 23277113, 25912463, 32971909, 34689511, 38206517, 38257411, 45181667, 46337843, 48339497, 57410477, 63676073, 67510217, 68468753, 68708387, 69169397, 70312793, 71151293
Offset: 1

Views

Author

Pierre CAMI, Jun 30 2014

Keywords

Comments

For n > 144, a(n) = a(n-144) + 412729590, the first 144 values are in the table.

Crossrefs

Formula

For n > 144, a(n) = a(n-144) + 412729590.

A257647 Least k such that k*2^m + 1 has a covering set of modulus 2*n, or 0 if no such value exists.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 271129, 0, 0, 0, 0, 0, 78557, 0, 0, 0, 0, 0, 327739, 0, 0, 0, 0, 0, 169073869, 0, 201446503145165177, 0, 0, 0, 1777613, 0, 0, 0
Offset: 1

Views

Author

Arkadiusz Wesolowski, Nov 05 2015

Keywords

Crossrefs

A263347 Odd numbers n such that for every k >= 1, n*2^k + 1 has a divisor in the set {3, 5, 13, 17, 97, 241, 257}.

Original entry on oeis.org

37158601, 1017439067, 1242117623, 1554424697, 1905955429, 2727763433, 4512543497, 4798554619, 4954643117, 4988327659, 5367644183, 5660978867, 6107173883, 7173264623, 7425967459, 8365215091, 8776906457, 9013226179, 9095014883, 9787717801, 10466795551
Offset: 1

Views

Author

Arkadiusz Wesolowski, Oct 15 2015

Keywords

Comments

Cohen and Selfridge showed that this sequence contains infinitely many numbers that are both Sierpiński and Riesel.
What is the smallest term of this sequence that belongs to A076335? Is it the smallest Brier number?
This sequence contains only numbers of the form 30*k + 1, 30*k + 17, 30*k + 19, and 30*k + 23.

Crossrefs

Subsequence of A076336.
A263560 gives the primes.

Formula

a(n) = a(n-96) + 39832304070 for n > 96.

A071628 Smallest m such that (2n-1)*2^m is totient, that is, in A002202, or -1 if (2n-1)*2^m is never a totient.

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 2, 1, 3, 6, 1, 1, 2, 1, 1, 8, 1, 1, 2, 1, 1, 2, 2, 583, 2, 1, 1, 1, 2, 5, 4, 1, 1, 2, 1, 3, 2, 1, 3, 2, 1, 1, 4, 2, 1, 4, 2, 1, 2, 1, 3, 16, 1, 3, 6, 1, 1, 2, 2, 1, 4, 2, 1, 2, 3, 1, 4, 1, 3, 2, 1, 3, 2, 1, 3, 4, 1, 1, 8, 2, 3, 2, 1, 7, 2, 1, 1, 2, 2, 1, 4, 1, 3, 4, 1, 1, 2, 2, 15, 2, 3, 2
Offset: 1

Views

Author

Labos Elemer, May 30 2002

Keywords

Comments

When 2n-1 is the k-th prime, then a(n) = A040076(2n-1) = A046067(n) = A057192(k). [This is only partially correct. If 2n-1 = 2^2^m + 1 is a Fermat prime, then a(n) = min{2^m, A040076(2n-1)} if 2n-1 is not a Sierpiński number and a(n) = 2^m otherwise, since phi((2n-1)^2) = (2n-1)*2^m. For example, a(129) = 8 < A040076(257) = 279, a(32769) = 16 < A040076(65537) = 287. - Jianing Song, Dec 14 2021]
From Jianing Song, Dec 14 2021: (Start)
a(1) should have been 0.
If 2n-1 is a prime Sierpiński number which is not a Fermat prime, then a(2n-1) = -1.
Do there exists n such that 2n-1 is composite and that a(2n-1) = -1? It seems very unlikely that this will happen: Let 2n-1 = (a_1)^(e_1) * (a_2)^(e_2) * ... * (a_r)^(e_r) * (q_1)^(f_1) * (q_2)^(f_2) * ... * (q_s)^(f_s), where a_1, a_2, ..., a_r are distinct numbers that are not Fermat primes (a_i is not necessarily a prime), q_1, q_2, ..., q_s are distinct Fermat primes. If p_{i,1}, p_{i,2}, ..., p_{i,e_i} are distinct primes of the form 2^e * (a_i) + 1, then the odd part of phi((Product_{i=1..r, j=1..e_i} p_{i,j}) * (Product_{i=1..s} (q_s)^(1+f_s))) is 2n-1.
Therefore, if k is not a Sierpiński number implies that there are infinitely many e such that 2^e * k + 1 is prime, then a necessary condition for a(2n-1) = -1 is that: for every factorization 2n-1 = (u_1) * (u_2) * ... * (u_t) (u_i is not necessarily a prime, and (u_i)'s are not necessarily distinct), at least one u_i must be a Sierpiński number which is not a Fermat prime. In particular, 2n-1 itself must be a Sierpiński number. (End)

Examples

			n=52:2n-1=13, [seq(nops(invphi(103*2^i)),i=1..25)]; gives: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,6,8,10,12,14,16,18,20]; nonzero appears first at position 16, so a(52)=16,since 6750208=103.2^16 is totient, while 3375104 is nontotient. n=24, 2n-1=47: the first nonempty InvPhi(47.2^i) set arises at i=a[24]=583, a very large number.
		

Crossrefs

Similar to but different from A046067. See also A058887, A057192.
Cf. A000010, A002202, A007617, A076336 (Sierpiński numbers).

Programs

  • Maple
    with(numtheory); [seq(nops(invphi(odd*2^i)),i=1..N)]; Position of first nonzero provides a[n] belonging to 2n-1 odd number.
  • Mathematica
    Needs["CNT`"]; Table[m=1; While[PhiInverse[n*2^m] == {}, m++], {n,1,200,2}]

Formula

a(n)=Min[{x; Card(InvPhi[(2n-1)*(2^x)])>0}]

Extensions

Escape clause added by Jianing Song, Dec 14 2021

A085245 Least k such that k*2^n + 1 is a semiprime.

Original entry on oeis.org

4, 2, 1, 2, 1, 1, 1, 6, 3, 2, 1, 1, 1, 6, 3, 2, 1, 2, 1, 1, 3, 2, 1, 3, 8, 4, 2, 1, 3, 2, 1, 1, 3, 7, 5, 5, 8, 4, 2, 1, 4, 2, 1, 3, 3, 7, 6, 3, 15, 9, 29, 28, 14, 7, 6, 3, 3, 8, 4, 2, 1, 4, 2, 1, 14, 7, 12, 6, 3, 3, 9, 5, 12, 6, 3, 8, 4, 2, 1, 3, 29, 18, 9, 18, 9, 10, 5, 13, 8, 4, 2, 1, 15, 12, 6, 3, 9, 6
Offset: 1

Views

Author

Jason Earls, Aug 11 2003

Keywords

Comments

The first few values of n such that 78557*2^n + 1 is a semiprime, where k = 78557 (the conjectured smallest Sierpinski number), are: 2, 3, 7, 15, 17, 18, 24, 60, 71, 89, 92, 107, 140, 143, 163,... Conjecture: there are infinitely many semiprimes of this form.

Examples

			a(51)=29 because k*2^51 + 1 is not a semiprime for k=1,2,...28, but 29*2^51 + 1 = 63839 * 1022920073887 is.
		

Crossrefs

Programs

  • PARI
    a(n) = my(k=1); while (bigomega(k*2^n + 1) != 2, k++); k; \\ Michel Marcus, Jul 02 2020

A177331 Prime numbers p such that (p*2^k-1)/3 is composite for all even k or all odd k.

Original entry on oeis.org

557, 743, 919, 1163, 3257, 3301, 4817, 5209, 5581, 6323, 6421, 6983, 7457, 7793
Offset: 1

Views

Author

T. D. Noe, May 08 2010

Keywords

Comments

This sequence consists of the primes >3 for which A177330 is zero. k is even when p=1 (mod 6); k is odd when p=5 (mod 6). This problem is similar to that of finding Sierpinski and Riesel numbers (see A076336 and A076337). Compositeness of (p*2^k-1)/3 for all even or all odd k is established by finding a finite set of primes such that at least one member of the set divides each term. For p <= 7797, the set of primes is {3,5,7,13}.
Previous Showing 31-40 of 72 results. Next