login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057646 a(n) = number of trinomials x^n + x^k + 1 that are irreducible over GF(2) for some k with n > k > 0. 2

%I

%S 1,2,2,2,3,4,0,4,2,2,4,0,2,6,0,6,5,0,4,4,2,4,0,4,0,0,8,2,4,8,0,4,2,2,

%T 6,0,0,6,0,4,2,0,2,0,2,8,0,8,0,0,8,0,5,4,0,8,2,0,12,0,2,10,0,4,2,0,4,

%U 0,0,10,0,6,2,0,2,0,0,4,0,6,0,0,14,0,2,2,0,2,2,0,2,2,2,4,0,8,4,0,10

%N a(n) = number of trinomials x^n + x^k + 1 that are irreducible over GF(2) for some k with n > k > 0.

%H T. D. Noe, <a href="/A057646/b057646.txt">Table of n, a(n) for n=2..500</a>

%e a(7) = 4 because 1 + x + x^7 = 1 + x + x^7, 1 + x^2 + x^7 = (1 + x + x^2)*(1 + x + x^2 + x^4 + x^5), 1 + x^3 + x^7 = 1 + x^3 + x^7, 1 + x^4 + x^7 = 1 + x^4 + x^7, 1 + x^5 + x^7 = (1 + x + x^2)*(1 + x + x^3 + x^4 + x^5) and 1 + x^6 + x^7 = 1 + x^6 + x^7. Thus there are 4 trinomial expressions which can not be factored over GF(2) and 2 trinomial expressions which do factor.

%t Do[ c = 0; Do[ If[ ToString[ Factor[ 1 + x^k + x^n, Modulus -> 2 ] ] == ToString[ 1 + x^k + x^n ], c++ ], {k, 1, n - 1} ]; Print[ c ], {n, 2, 100} ]

%Y For n such that a(n) > 0 see A073571.

%K nonn,easy,nice

%O 2,2

%A _Robert G. Wilson v_, Oct 11 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 22 21:43 EDT 2013. Contains 225583 sequences.