OFFSET
0,5
EXAMPLE
The a(1) = 1 through a(14) = 11 partitions (A..E = 10..14):
1 2 3 4 5 6 7 8 9 A B C D E
31 32 51 43 53 54 64 65 75 76 86
41 52 62 72 73 74 93 85 95
61 71 81 82 83 A2 94 A4
531 91 92 B1 A3 B3
A1 543 B2 C2
641 732 C1 D1
731 741 652 851
831 751 932
832 941
931 A31
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&Select[Tuples[#, 3], #[[1]]+#[[2]]==#[[3]]&]=={}&]], {n, 0, 15}]
PROG
(Python)
from collections import Counter
from itertools import combinations_with_replacement
from sympy.utilities.iterables import partitions
def A364346(n): return sum(1 for p in partitions(n) if max(p.values(), default=1)==1 and not any(q[0]+q[1]==q[2] for q in combinations_with_replacement(sorted(Counter(p).elements()), 3))) # Chai Wah Wu, Sep 20 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jul 22 2023
STATUS
approved