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!)
A283991 a(1) = 0 and for n > 1, a(n) = 1 if Stern polynomial B(n,x) is irreducible, 0 otherwise. 10

%I #8 Mar 20 2017 23:21:30

%S 0,1,1,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,

%T 0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,

%U 0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,1

%N a(1) = 0 and for n > 1, a(n) = 1 if Stern polynomial B(n,x) is irreducible, 0 otherwise.

%C Characteristic function for A186891 (apart from term 1, which is here defined as a(1) = 0).

%H Antti Karttunen, <a href="/A283991/b283991.txt">Table of n, a(n) for n = 1..65537</a>

%o (PARI)

%o \\ After _Charles R Greathouse IV_'s code for A186891.

%o ps(n) = if(n<2, n, if(n%2, ps(n\2)+ps(n\2+1), 'x*ps(n\2)));

%o A283991(n) = polisirreducible(ps(n));

%Y Cf. A186891, A125184, A260443.

%Y Cf. A283992 (partial sums).

%Y Differs from A010051 for the first time at n=25: here a(25) = 1.

%Y Differs from A257000 for the first time at n=65: here a(65) = 1.

%K nonn

%O 1

%A _Antti Karttunen_, Mar 20 2017

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 24 11:11 EDT 2024. Contains 371936 sequences. (Running on oeis4.)