%N Paradigm shift sequence for (4,5) production scheme with replacement.
%C This sequence is the solution to the following problem: "Suppose you have the choice of using one of three production options: apply a simple incremental action, bundle existing output as an integrated product (which requires p=4 steps), or implement the current bundled action (which requires q=5 steps). The first use of a novel bundle erases (or makes obsolete) all prior actions. How large an output can be generated in n time steps?"
%C 1. A production scheme with replacement R(p,q) eliminates existing output following a bundling action, while an additive scheme A(p,q) retains the output. The schemes correspond according to A(p,q)=R(p-q,q), with the replacement scheme serving as the default presentation.
%C 2. This problem is structurally similar to the Copy and Paste Keyboard problem: Existing sequences (A178715 and A193286) should be regarded as Paradigm-Shift Sequences with production schemes R(1,1) and R(2,1) with replacement, respectively.
%C 3. The ideal number of implementations per bundle, as measured by the geometric growth rate (p+zq root of z), is z = 3.
%C 4. All solutions will be of the form a(n) = (qm+r) * m^b * (m+1)^d.
%C 5. The optimal action string that generates this integer sequence (x=a^k PV^m ...) has inversions in the minimum number of bundling procedures P. These inversions are persistent as they are present when the recursive formula for the output first holds.
%F a(n) = (qd+r) * d^(C-R) * (d+1)^R, where r = (n-Cp) mod q, Q = floor( (R-Cp)/q ), R = Q mod (C+1), and d = floor ( Q/(C+1) ).
%F Recursive: a(n) = 3*a(n-19) for all n >= 164.
%Y Paradigm shift sequences for q=5: A103969, A246074, A246075, A246076, A246079, A246083, A246087, A246091, A246095, A246099, A246103.
%Y Paradigm shift sequences for q=4: A193456, A246096, A246097, A246098, A246099.
%A _Jonathan T. Rowell_, Aug 13 2014