reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
G.f.: x*(1+x+7*x^2-4*x^3+5*x^4-4*x^5+5*x^6-4*x^7+9*x^8-12*x^9-3*x^10-x^11-x^13-6*x^16+7*x^17+x^18) / ((1-x)^2*(1+x)*(1+x^2)^2*(1+x^4)^2). - Colin Barker, May 16 2016
(PARI) concat(0, Vec(x*(1+x+7*x^2-4*x^3+5*x^4-4*x^5+5*x^6-4*x^7+9*x^8-12*x^9-3*x^10-x^11-x^13-6*x^16+7*x^17+x^18)/((1-x)^2*(1+x)*(1+x^2)^2*(1+x^4)^2) + O(x^50))) \\ Colin Barker, May 16 2016
approved
editing
editing
approved
Harry J. Smith, <a href="/A006085/b006085.txt">Table of n, a(n) for n = 1,...,20000</a>
0.679570457114761308840071867... = 0 + 1/(1 + 1/(2 + 1/(8 + 1/(3 + ...)))) [From _. - _Harry J. Smith_, May 10 2009]
(PARI) { allocatemem(932245000); default(realprecision, 40000); x=contfrac(exp(1)/4); for (n=1, 20000, write("b006085.txt", n, " ", x[n])); } [From _\\ _Harry J. Smith_, May 10 2009]
Cf. A019741 = Decimal expansion. [From _- _Harry J. Smith_, May 10 2009]
approved
editing
editing
approved
<a href="/index/Rec#order_15">Index entries for linear recurrences with constant coefficients</a>, signature (1, -1, 1, -1, 1, -1, 1, 1, -1, 1, -1, 1, -1, 1, -1).
Join[{0, 1, 2, 8, 3}, LinearRecurrence[{1, -1, 1, -1, 1, -1, 1, 1, -1, 1, -1, 1, -1, 1, -1}, {1, 1, 1, 1, 7, 1, 1, 2, 1, 1, 1, 2, 7, 1, 2}, 97]] (* Ray Chandler, Sep 03 2015 *)
approved
editing
ContinuedFraction[E/4, 120] (* From _Harvey P. Dale, _, Apr 01 2011 *)
First seven terms are 0, 1, 2, 8, 3, 1, 1; then a(8k)=1, a(8k+1)=k, a(8k+2)=7, a(8k+3)=1, a(8k+4)=k, a(8k+5)=2, a(8k+6)=1, a(8k+7)=1. - _Benoit Cloitre (benoit7848c(AT)orange.fr), _, Apr 08 2003