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!)
A294893 Number of divisors d of n such that Stern polynomial B(d,x) is irreducible. 6

%I #6 Nov 11 2017 12:05:48

%S 0,1,1,1,1,2,1,1,1,2,1,2,1,2,2,1,1,2,1,2,2,2,1,2,2,2,1,2,1,3,1,1,2,2,

%T 2,2,1,2,2,2,1,3,1,2,2,2,1,2,1,3,2,2,1,2,3,2,2,2,1,3,1,2,2,1,3,3,1,2,

%U 2,3,1,2,1,2,3,2,3,3,1,2,1,2,1,3,2,2,2,2,1,3,3,2,2,2,3,2,1,2,2,3,1,3,1,2,3

%N Number of divisors d of n such that Stern polynomial B(d,x) is irreducible.

%C Number of terms > 1 of A186891 that divide n.

%H Antti Karttunen, <a href="/A294893/b294893.txt">Table of n, a(n) for n = 1..22001</a>

%F a(n) = Sum_{d|n} A283991(d).

%F a(n) + A294894(n) = A000005(n).

%F a(n) = A294891(n) + A283991(n).

%e For n=25, with divisors [1, 5, 25], both B(5,x) and B(25,x) are irreducible, thus a(25)=2.

%o (PARI)

%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));

%o A294893(n) = sumdiv(n,d,A283991(d));

%Y Cf. A186891, A283991, A294891, A294892, A294894.

%Y Cf. also A294883.

%Y Differs from A001221 for the first time at n=25.

%K nonn

%O 1,6

%A _Antti Karttunen_, Nov 10 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)