OFFSET
3,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 3..5000
FORMULA
a(n) ~ c * d^n, where d = 1.42405422074094158891999182454432643651250048913477... is the root of the equation d^5 - d^4 + d^3 - 2*d^2 + d - 2 = 0 and c = 0.7949863587395197228140209096861039705690343740923239... is the root of the equation -16 + 581*c - 7278*c^2 + 36113*c^3 - 74523*c^4 + 49682*c^5 = 0. - Vaclav Kotesovec, May 01 2014, updated Mar 17 2024
EXAMPLE
a(4) = 2: [3,1], [1,3].
a(5) = 1: [1,3,1].
a(6) = 8: [4,2], [3,2,1], [3,1,2], [2,4], [2,3,1], [2,1,3], [1,3,2], [1,2,3].
a(7) = 7: [3,1,3], [3,1,2,1], [2,1,3,1], [1,3,2,1], [1,3,1,2], [1,2,3,1], [1,2,1,3].
a(8) = 13: [5,3], [3,5], [3,2,1,2], [3,1,3,1], [2,4,2], [2,3,2,1], [2,3,1,2], [2,1,3,2], [2,1,2,3], [1,3,1,3], [1,3,1,2,1], [1,2,3,2], [1,2,1,3,1].
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jul 09 2012
STATUS
approved