OFFSET
0,4
LINKS
John Tyler Rascoe, Table of n, a(n) for n = 0..200
EXAMPLE
The partition y = (12,6,3,2,1) has differences (6,3,1,1), and {1,3,6} is a subset of {1,2,3,6,12}, so y is counted under a(24).
The a(n) partitions for n = 1, 3, 6, 12, 15, 18, 21:
(1) (3) (6) (12) (15) (18) (21)
(2,1) (4,2) (8,4) (10,5) (12,6) (14,7)
(3,2,1) (6,4,2) (8,4,2,1) (9,6,3) (12,6,3)
(5,4,2,1) (5,4,3,2,1) (6,5,4,2,1) (8,6,4,2,1)
(6,3,2,1) (7,5,3,2,1) (9,5,4,2,1)
(8,4,3,2,1) (9,6,3,2,1)
(10,5,3,2,1)
(6,5,4,3,2,1)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&SubsetQ[#, -Differences[#]]&]], {n, 0, 30}]
PROG
(Python)
from collections import Counter
def A364673_list(maxn):
count = Counter()
for i in range(maxn//3):
A, f, i = [[(i+1, )]], 0, 0
while f == 0:
A.append([])
for j in A[i]:
for k in j:
x = j + (j[-1] + k, )
y = sum(x)
if y <= maxn:
A[i+1].append(x)
count.update({y})
if len(A[i+1]) < 1: f += 1
i += 1
return [count[z]+1 for z in range(maxn+1)] # John Tyler Rascoe, Mar 09 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Aug 03 2023
STATUS
approved