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”).

A029589
Expansion of (1+sin(x)+sin(x)^2)/(1-sin(x)+sin(x)^2).
0
1, 2, 4, -2, -64, -238, 1024, 18478, 64256, -1078558, -16672256, -22614242, 2401458176, 32373060722, -117093134336, -9756500186162, -106877784162304, 1553450981649602, 64518260702838784, 465844716994278718
OFFSET
0,2
MATHEMATICA
With[{nn=20}, CoefficientList[Series[(1+Sin[x]+Sin[x]^2)/(1-Sin[x]+ Sin[x]^2), {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, May 24 2021 *)
CROSSREFS
Sequence in context: A301460 A130172 A303320 * A121819 A134138 A351427
KEYWORD
sign
AUTHOR
STATUS
approved