OFFSET
0,13
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
FORMULA
a(n) ~ exp(2*Pi*sqrt(n/15)) / (4 * 3^(1/4) * sqrt(5*phi) * n^(3/4)), where phi = A001622 = (1+sqrt(5))/2 is the golden ratio. - Vaclav Kotesovec, Mar 10 2020
EXAMPLE
a(12) = 2 because of the partitions of 12, 12 and 6+4+2 are the only two that satisfy all three conditions.
MAPLE
b:= proc(n, i, t) option remember; `if`(n=0, t,
`if`(i>n, 0, b(n, i+1, t)+b(n-i, i+2, 1-t)))
end:
a:= n-> b(n, 2, 0):
seq(a(n), n=0..80); # Alois P. Heinz, Nov 23 2017
MATHEMATICA
Table[Length@ Select[ip@n, Min[-Differences@#] >= 2 && Min@# >= 2 && OddQ@Length@# &], {n, 20}]
CROSSREFS
KEYWORD
nonn
AUTHOR
George Beck, May 13 2017
STATUS
approved