OFFSET
0,2
LINKS
Robert Israel, Table of n, a(n) for n = 0..6277
FORMULA
G.f.: (1+x^2-2*x^3+2*x^4-x^5+x^6-2*x^7+2*x^8-4*x^9+4*x^10-2*x^11+x^12)/(1-3*x^3)/(1-x)^2. - Vladeta Jovovic, Mar 23 2003
a(n+3) = 3*a(n) + n + 3 for n >= 8. - Robert Israel, Mar 28 2018
MAPLE
f:= gfun:-rectoproc({a(n+3)=3*a(n)+n+3, seq(a(i)=[1, 2, 4, 7, 12, 19, 30, 45, 68, 99, 146][i+1], i=0..10)}, a(n), remember):
map(f, [$0..50]); # Robert Israel, Mar 28 2018
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Mark Herbster (mark(AT)cse.ucsc.edu)
STATUS
approved