login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A216845 Numbers n such that the polynomial 1 + x + x^2 + x^3 + x^4 + ... + x^(n-1) is reducible over GF(2). 0
4, 6, 7, 8, 9, 10, 12, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Alternately, the union of the composite numbers and the primes for which 2 is not a primitive root.
This is the complement of A001122 (primes for which 2 is a primitive root). - V. Raman, Dec 01 2012
LINKS
MATHEMATICA
reducibleQ[n_] := Module[{f = FactorList[Sum[x^i, {i, 0, n - 1}], Modulus -> 2]}, Length[f] > 2 || f[[2, 2]] > 1]; Select[Range[2, 100], reducibleQ] (* T. D. Noe, Sep 19 2012 *)
PROG
(PARI) for(i=4, 100, if(isprime(i), if(znorder(Mod(2, i))!=(i-1), print(i)), print(i))) \\ V. Raman, Oct 14 2012
(PARI) is(n)=n>3 && (!isprime(n) || znorder(Mod(2, n))<n-1) \\ Charles R Greathouse IV, Oct 16 2012
CROSSREFS
Sequence in context: A074764 A101087 A138887 * A031949 A043693 A043593
KEYWORD
nonn
AUTHOR
V. Raman, Sep 17 2012
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:59 EDT 2024. Contains 371913 sequences. (Running on oeis4.)