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-5 of 5 results.

A074710 Numbers k such that x^k + x^2 + 1 is a primitive irreducible polynomial over GF(2).

Original entry on oeis.org

1, 3, 5, 11, 21, 29, 35, 93, 123, 333, 845
Offset: 1

Views

Author

Richard P. Brent, Sep 05 2002

Keywords

Comments

Agrees with A057460 as far as it goes, but is a different sequence.
The next candidate is 4125.

Crossrefs

Cf. A002475.

A278572 Irregular triangle read by rows: row n lists values of k in range 1 <= k <= n/2 such x^n + x^k + 1 is irreducible (mod 2), or -1 if no such k exists.

Original entry on oeis.org

1, 1, 1, 2, 1, 3, 1, 3, -1, 1, 4, 3, 2, 3, 5, -1, 5, 1, 4, 7, -1, 3, 5, 6, 3, 7, 9, -1, 3, 5, 2, 7, 1, 5, 9, -1, 3, 7, -1, -1, 1, 3, 9, 13, 2, 1, 9, 3, 6, 7, 13, -1, 10, 13, 7, 2, 9, 11, 15, -1, -1, 4, 8, 14, -1, 3, 20, 7, -1, 5, -1, 1, 5, 14, 20, 21, -1
Offset: 2

Views

Author

N. J. A. Sloane, Nov 27 2016

Keywords

Comments

This is the format used by John Brillhart (1968) and Zierler and Brillhart (1968).

Examples

			Triangle begins:
1,
1,
1,
2,
1, 3,
1, 3,
-1,
1, 4,
3,
2,
3, 5,
-1,
5,
1, 4, 7,
-1,
3, 5, 6,
...
		

References

  • Alanen, J. D., and Donald E. Knuth. "Tables of finite fields." Sankhyā: The Indian Journal of Statistics, Series A (1964): 305-328.
  • John Brillhart, On primitive trinomials (mod 2), unpublished Bell Labs Memorandum, 1968.
  • Marsh, Richard W. Table of irreducible polynomials over GF (2) through degree 19. Office of Technical Services, US Department of Commerce, 1957.

Crossrefs

Rows n that contain particular numbers: 1 (A002475), 2 (A057460), 3 (A057461), 4 (A057463), 5 (A057474), 6 (A057476), 7 (A057477), 8 (A057478), 9 (A057479), 10 (A057480), 11 (A057481), 12 (A057482), 13 (A057483).

Programs

  • Maple
    T:= proc(n) local L; L:= select(k -> Irreduc(x^n+x^k+1) mod 2, [$1..n/2]); if L = [] then -1 else op(L) fi
    end proc:
    map(T, [$2..100]); # Robert Israel, Mar 28 2017
  • Mathematica
    DeleteCases[#, 0] & /@ Table[Boole[IrreduciblePolynomialQ[x^n + x^# + 1, Modulus -> 2]] # & /@ Range[Floor[n/2]], {n, 2, 40}] /. {} -> {-1} // Flatten (* Michael De Vlieger, Mar 28 2017 *)

A335379 a(n) is the number of Mersenne prime (irreducible) polynomials M = x^k(x+1)^(n-k)+1 of degree n in GF(2)[x] (k goes from 1 to n-1) such that Phi_7(M) has an odd number of prime divisors (omega(Phi_7(M)) is odd).

Original entry on oeis.org

1, 2, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2
Offset: 2

Views

Author

Luis H. Gallardo, Jun 03 2020

Keywords

Comments

Phi_7(x)=1+x+x^2+x^3+x^4+x^5+x^6, is the 7th cyclotomic polynomial; omega(P(x)) counts the 2 X 2 distinct irreducible divisors of the binary polynomial P(x) in GF(2)[x].
It is surprising that a(n) be so small (conjecturally it is always 1 or 2). The sequence appeared when working the special case p=7 of a conjecture (see Links) about prime divisors in GF(2)[x] of the composed cyclotomic polynomial Phi_p(M), where p is a prime number and M is a Mersenne irreducible polynomial.

Examples

			For n=4 a(4)= 0 (the sequence begins a(2)=1,a(3)=2,...), since there is no Mersenne polynomial M of degree 4 in GF(2)[x] such that omega(Phi_7(M)) is odd.
		

Crossrefs

Programs

  • PARI
    a(n)={my(phi7=polcyclo(7)); sum(k=1, n-1, my(p=Mod(x^k * (x+1)^(n-k) + 1, 2)); polisirreducible(p) && #(factor(subst(phi7, x, p))~)%2)} \\ Andrew Howroyd, Jun 04 2020

Extensions

Terms a(22) and beyond from Andrew Howroyd, Jun 04 2020

A058235 Numbers n such that x^n + x^2 + 2 is irreducible over GF(3).

Original entry on oeis.org

1, 3, 4, 7, 8, 11, 12, 15, 19, 28, 35, 60, 67, 80, 108, 111, 119, 151, 183, 331, 631, 728, 892, 1276
Offset: 1

Views

Author

Robert G. Wilson v, Dec 01 2000

Keywords

Crossrefs

Cf. A057460.

Programs

  • PARI
    is(k) = polisirreducible(Mod(1, 3)*(x^k + x*x + 1)); \\ Jinyuan Wang, Apr 15 2020

Extensions

a(24) from Jinyuan Wang, Apr 15 2020

A059006 Numbers k such that x^k + x^2 + 1 is irreducible over GF(7).

Original entry on oeis.org

2, 3, 6, 9, 18, 65, 66, 287, 354, 1425, 3743, 5598
Offset: 1

Views

Author

Robert G. Wilson v, Jan 16 2001

Keywords

Comments

No terms == 1 (mod 3), as e.g. 2^k + 2^2 + 1 == 0 mod 7 when k == 1 (mod 3). - Robert Israel, Dec 22 2024

Crossrefs

Programs

  • Maple
    R:= NULL:
    for k from 1 to 10000 do
     if Irreduc(x^k + x^2 + 1) mod 7 then R:= R, k fi
    od:
    R; # Robert Israel, Dec 22 2024

Extensions

2 inserted and more terms from Robert Israel, Dec 22 2024
Showing 1-5 of 5 results.