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!)
A092505 a(n) = A002430(n) / A046990(n). 3
1, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 4, 2, 1, 2, 2, 2, 2, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4, 2, 1, 2, 2, 2, 2, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 8, 2, 4, 2, 1, 2, 2, 2, 2, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 8, 2, 4, 2, 2, 2, 4, 2, 4, 2, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
A007814(a(n)) = A130654(n). - Antti Karttunen, Jan 12 2019
PROG
(PARI) a(n)=if(n<1, 0, numerator(polcoeff(Ser(tan(x)), 2*n-1))/numerator(polcoeff(Ser(log(1/cos(x))), 2*n)))
(PARI)
\\ Quite wasteful, especially as there is the same bernfrac(2*n) in both. Should reduce to a much simpler form?
A002430(n) = numerator(((-1)^(n-1)) * 2^(2*n) * (2^(2*n)-1)*bernfrac(2*n)/((2*n)!)); \\ After Johannes W. Meijer's May 24 2009 formula in A002430.
A046990(n) = numerator(((-4)^n-(-16)^n)*bernfrac(2*n)/2/n/(2*n)!); \\ From A046990
A092505(n) = (A002430(n) / A046990(n)); \\ Antti Karttunen, Jan 12 2019
(Magma) [Numerator((-1)^(n - 1)*2^(2*n)*(2^(2*n) - 1)*Bernoulli(2*n) / Factorial(2*n)) / (Numerator(((-4)^n-(-16)^n) * Bernoulli(2*n) / 2 / n / Factorial(2*n))): n in [1..100]]; // Vincenzo Librandi, Jan 13 2019
CROSSREFS
Sequence in context: A246600 A068068 A193523 * A066086 A323406 A160520
KEYWORD
nonn
AUTHOR
Ralf Stephan, Apr 05 2004
STATUS
approved

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 September 14 13:32 EDT 2024. Contains 375921 sequences. (Running on oeis4.)