OFFSET
1,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = n^4 + 4*n^3 + 4*n^2 - n.
Conjectures from Colin Barker, Jan 25 2019: (Start)
G.f.: 2*x*(4 + 11*x - 4*x^2 + x^3) / (1 - x)^5.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n>5.
(End)
EXAMPLE
Some solutions for n=7:
..0. .7. .6. .5. .4. .1. .1. .5. .3. .5. .0. .3. .1. .3. .4. .4
..5. .6. .4. .1. .0. .2. .4. .1. .4. .1. .3. .0. .7. .0. .6. .3
..3. .5. .6. .7. .6. .1. .6. .7. .3. .7. .4. .3. .0. .6. .0. .7
..7. .7. .6. .5. .1. .4. .2. .4. .2. .6. .7. .4. .1. .7. .1. .7
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 01 2016
STATUS
approved