A353840 Trajectory of the partition run-sum transformation of n, using Heinz numbers.
1, 2, 3, 4, 3, 5, 6, 7, 8, 5, 9, 7, 10, 11, 12, 9, 7, 13, 14, 15, 16, 7, 17, 18, 14, 19, 20, 15, 21, 22, 23, 24, 15, 25, 13, 26, 27, 13, 28, 21, 29, 30, 31, 32, 11, 33, 34, 35, 36, 21, 37, 38, 39, 40, 25, 13, 41, 42, 43, 44, 33, 45, 35, 46, 47, 48, 21, 49, 19
Offset: 1
Keywords
Examples
Triangle begins: 1 2 3 4 3 5 6 7 8 5 9 7 10 11 12 9 7 Row 87780 is the following trajectory (left column), with prime indices shown on the right: 87780: {1,1,2,3,4,5,8} 65835: {2,2,3,4,5,8} 51205: {3,4,4,5,8} 19855: {3,5,8,8} 2915: {3,5,16}
Programs
-
Mathematica
Table[NestWhileList[Times@@Prime/@Cases[FactorInteger[#],{p_,k_}:>PrimePi[p]*k]&,n,Not@*SquareFreeQ],{n,30}]
Comments