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!)
A207192 Numbers that match odd polynomials among the monic polynomials over {-1,0,1}, ordered as at A206821. 3

%I #5 Mar 30 2012 18:58:12

%S 2,11,13,20,57,59,65,67,90,96,98,247,249,255,257,279,281,287,289,376,

%T 382,384,406,408,414,416,1013,1015,1021,1023,1045,1047,1053,1055,1141,

%U 1143,1149,1151,1173,1175,1181,1183,1526,1532,1534,1556,1558

%N Numbers that match odd polynomials among the monic polynomials over {-1,0,1}, ordered as at A206821.

%C The polynomials y(k,x) range through all monic polynomials with coefficients in {-1,0,1}, ordered as at A206821.

%e The first 13 polynomials:

%e 1 .... 1

%e 2 .... x

%e 3 .... x + 1

%e 4 .... x^2

%e 5 .... x^2 - 1

%e 6 .... x^2 - x

%e 7 .... x^2 - x - 1

%e 8 .... x^2 + 1

%e 9 .... x^2 + x

%e 10 ... x^2 + x + 1

%e 11 ... x^3

%e 12 ... x^3 - 1

%e 13 ... x^3 - x

%e Numbers n for which y(n,-x)=y(n,x): 1,4,5,8,26,...

%e Numbers n for which y(n,-x)=-y(n,x): 2,11,13,20,...

%t t = Table[IntegerDigits[n, 2], {n, 1, 2000}];

%t b[n_] := Reverse[Table[x^k, {k, 0, n}]]

%t p[n_] := p[n] = t[[n]].b[-1 + Length[t[[n]]]]

%t TableForm[Table[{n, p[n], Factor[p[n]]}, {n, 1, 6}]]

%t f[k_] := 2^k - k; g[k_] := 2^k - 2 + f[k - 1];

%t q1[n_] := p[2^(k - 1)] - p[n + 1 - f[k]]

%t q2[n_] := p[n - f[k] + 2]

%t y1 = Table[p[n], {n, 1, 4}];

%t Do[AppendTo[y1,

%t Join[Table[q1[n], {n, f[k], g[k] - 1}],

%t Table[q2[n], {n, g[k], f[k + 1] - 1}]]], {k, 3, 10}]

%t y = Flatten[y1]; (* polynomials over {-1,0,1} *)

%t Flatten[Position[y - (y /. x -> -x), 0]] (* A207191 *)

%t Flatten[Position[y + (y /. x -> -x), 0]] (* A207192 *)

%Y Cf. A206821.

%K nonn

%O 1,1

%A _Clark Kimberling_, Feb 16 2012

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 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)