OFFSET
0,2
COMMENTS
Every sequence can be uniquely split into a sequence of non-overlapping runs. For example, the runs of (2,2,1,1,1,3,2,2) are ((2,2),(1,1,1),(3),(2,2)), with sums (4,3,3,4). The run-sum trajectory is obtained by repeatedly taking the run-sum transformation (A353832, A353847) until a squarefree number is reached. For example, the trajectory 12 -> 9 -> 7 corresponds to the partitions (2,1,1) -> (2,2) -> (4).
FORMULA
a(n > 1) = 2 * Product_{k=0..n-2} prime(2^k).
a(n > 0) = 2 * A325782(n).
EXAMPLE
The terms together with their prime indices begin:
1: {}
2: {1}
4: {1,1}
12: {1,1,2}
84: {1,1,2,4}
1596: {1,1,2,4,8}
84588: {1,1,2,4,8,16}
MATHEMATICA
Join[{1, 2}, Table[2*Product[Prime[2^k], {k, 0, n}], {n, 0, 6}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 11 2022
STATUS
approved