A246076 Paradigm shift sequence for the (-2,5) production scheme with replacement.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20, 22, 24, 26, 28, 30, 33, 36, 40, 44, 48, 52, 56, 60, 66, 72, 80, 88, 96, 104, 112, 120, 132, 144, 160, 176, 192, 208, 224, 240, 264, 288, 320, 352, 384, 416, 448, 480, 528, 576, 640, 704, 768, 832, 896, 960, 1056, 1152, 1280, 1408, 1536, 1664, 1792
Offset: 1
Links
- Colin Barker, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,2).
Crossrefs
Programs
-
PARI
Vec(x*(1 +2*x +3*x^2 +4*x^3 +5*x^4 +6*x^5 +7*x^6 +8*x^7 +7*x^8 +6*x^9 +5*x^10 +4*x^11 +3*x^12 +2*x^13 +x^14 +x^23) / (1 -2*x^8) + O(x^100)) \\ Colin Barker, Nov 18 2016
Formula
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) ).
a(n) = 2*a(n-8) for all n >= 25.
G.f.: x*(1 +2*x +3*x^2 +4*x^3 +5*x^4 +6*x^5 +7*x^6 +8*x^7 +7*x^8 +6*x^9 +5*x^10 +4*x^11 +3*x^12 +2*x^13 +x^14 +x^23) / (1 -2*x^8). - Colin Barker, Nov 18 2016
Comments