OFFSET
1,1
LINKS
FORMULA
a(n) = 2 * A047221(n) = 5*n-5/2-3*(-1)^n/2.
a(n) = 10*n-a(n-1)-10 (with a(1)=4). - Vincenzo Librandi, Nov 16 2010
G.f.: 2*x*(2+x+2*x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Oct 08 2011
Sum_{n>=1} (-1)^(n+1)/a(n) = sqrt(1-2/sqrt(5))*Pi/10. - Amiram Eldar, Dec 28 2021
MATHEMATICA
#+{4, 6}&/@(10Range[0, 50])//Flatten (* or *) LinearRecurrence[{1, 1, -1}, {4, 6, 14}, 100] (* Harvey P. Dale, Jun 05 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Feb 07 2004
EXTENSIONS
Edited and extended by Ray Chandler, Feb 10 2004
STATUS
approved