A083693 Sum of absolute values of list generated by n replacements of k by {-1-|k|, .., 1+|k|} with increment 2, starting with {1}.
1, 4, 18, 72, 324, 1360, 6280, 27296, 128784, 573760, 2752032, 12485248, 60652608, 278988032, 1368979584, 6365514240, 31488733440, 147697177600, 735486927360, 3474529986560, 17398140748800, 82683153633280, 415966710171648
Offset: 0
Keywords
Examples
0, 1 and 2 substitutions produce lengths 1, 3 and 10: {1}; {-2,0,2}; {-3,-1,1,3, -1,1, -3,-1,1,3} with sums of absolute values 1,4,18.
Programs
-
Mathematica
Table[Plus@@Abs@Flatten[Nest[ #/.k_Integer:>Table[i, {i, -1-Abs[k], Abs[k]+1, 2}]&, {1}, w]], {w, 0, 10}]
Comments