OFFSET
1,2
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = a(n-1) + a(n-6) - a(n-7).
Empirical for n mod 6 = 0: a(n) = (2/3)*n
Empirical for n mod 6 = 1: a(n) = (2/3)*n + (1/3)
Empirical for n mod 6 = 2: a(n) = (2/3)*n + (2/3)
Empirical for n mod 6 = 3: a(n) = (2/3)*n + 1
Empirical for n mod 6 = 4: a(n) = (2/3)*n + (1/3)
Empirical for n mod 6 = 5: a(n) = (2/3)*n + (2/3).
Empirical g.f.: x*(1 + x + x^2 + x^4) / ((1 - x)^2*(1 + x)*(1 - x + x^2)*(1 + x + x^2)). - Colin Barker, Dec 20 2018
EXAMPLE
All solutions for n=4:
..2....4....3
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Apr 15 2015
STATUS
approved