OFFSET
0,2
COMMENTS
Numerators are all 1.
Setting x=1/3 into 1/(3*x)*log((1+x)/(1-x)^2) = Sum_{k>=0} x^k/((2-(-1)^k)*(k+1)),
log(3) = Sum_{k>=0} 1/((2-(-1)^k)*(k+1)*3^k) = Sum_{k>=0} (9/(2k+1)+1/(2k+2))/9^(k+1) is obtained.
It appears that this is also the first differences of the generalized decagonal numbers A074377. - Omar E. Pol, Sep 10 2011
It appears that this is also A005408 and positive terms of A008588 interleaved. - Omar E. Pol, May 28 2012
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1004
Tian-Xiao He, Peter J.-S. Shiue, Zihan Nie, and Minghao Chen, Recursive sequences and Girard-Waring identities with applications in sequence transformation, Electronic Research Archive (2020) Vol. 28, No. 2, 1049-1062.
Index entries for linear recurrences with constant coefficients, signature (0,2,0,-1).
FORMULA
G.f.: (1+6*x+x^2)/(1-x^2)^2.
a(n) = (2-(-1)^n)*(n+1) (see PARI's code by Jaume Oliver Lafont).
a(2n)= 2n+1. a(2n+1) = 6*(n+1). - R. J. Mathar, Apr 02 2011
With offset 1 this sequence is multiplicative (in fact, a generalized totient function): a(p^e) = p^e for any odd prime p and a(2^e) = 3*2^e for e >= 1. - Charles R Greathouse IV, Mar 09 2015
With offset 1, Dirichlet g.f.: zeta(s-1) * (1 + 2^(2-s)). - Amiram Eldar, Oct 25 2023
MATHEMATICA
LinearRecurrence[{0, 2, 0, -1}, {1, 6, 3, 12}, 50] (* Vincenzo Librandi, Feb 22 2012 *)
PROG
(PARI) a(n)=(2-(-1)^n)*(n+1)
(Magma) [(2-(-1)^n)*(n+1): n in [0..350]]; // Vincenzo Librandi, Apr 04 2011
CROSSREFS
KEYWORD
frac,nonn,easy
AUTHOR
Jaume Oliver Lafont, Oct 03 2009
STATUS
approved