login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Least prime divisor of the n-th tangent number T_n which does not divide any T_k with k < n, or 1 if such a primitive prime divisor of T_n does not exist.
7

%I #18 Mar 27 2020 08:47:51

%S 1,2,1,17,31,691,43,257,73,41,89,103,2731,113,151,37,43691,109,174763,

%T 61681,337,59,178481,97,251,157,39409,113161,67,1321,266689,641,839,

%U 101,281,433,223,229,121369,631

%N Least prime divisor of the n-th tangent number T_n which does not divide any T_k with k < n, or 1 if such a primitive prime divisor of T_n does not exist.

%C Conjecture: (i) a(n) is prime for any n > 3.

%C (ii) For the n-th Springer number S_n given by A001586, if n is greater than one and not equal to 5, then S_n has a prime divisor which does not divide any S_k with k < n.

%C See also A242193 and A242194 for similar conjectures involving Bernoulli numbers and Euler numbers.

%H Zhi-Wei Sun, <a href="/A242195/b242195.txt">Table of n, a(n) for n = 1..54</a>

%e a(4) = 17 since T_4 = 2^4*17 with 17 dividing none of T_1 = 1, T_2 = 2 and T_3 = 2^4.

%t t[n_]:=(-1)^(n-1)*2^(2n)(2^(2n)-1)BernoulliB[2n]/(2n)

%t f[n_]:=FactorInteger[t[n]]

%t p[n_]:=Table[Part[Part[f[n],k],1],{k,1,Length[f[n]]}]

%t Do[If[t[n]<2,Goto[cc]];Do[Do[If[Mod[t[i],Part[p[n],k]]==0,Goto[aa]],{i,1,n-1}];Print[n," ",Part[p[n],k]];Goto[bb];Label[aa];Continue,{k,1,Length[p[n]]}];Label[cc];Print[n," ",1];Label[bb];Continue,{n,1,40}]

%o (Sage) # uses[LPDtransform from A242193]

%o def Tnum(n): return (-1)^(n-1)*2^(2*n)*(2^(2*n)-1)*bernoulli(2*n)/(2*n)

%o A242195list = lambda sup: [LPDtransform(n, Tnum) for n in (1..sup)]

%o print(A242195list(40)) # _Peter Luschny_, Jul 26 2019

%Y Cf. A000040, A000182, A001586, A242169, A242170, A242171, A242173, A242193, A242194.

%K nonn

%O 1,2

%A _Zhi-Wei Sun_, May 07 2014