A075153
Trajectory of 318 under the Reverse and Add! operation carried out in base 4, written in base 10.
Original entry on oeis.org
318, 1071, 5040, 5985, 10710, 20400, 24225, 43350, 81600, 85425, 165750, 327360, 342705, 664950, 1309440, 1324785, 2629110, 5241600, 5303025, 10524150, 20966400, 21027825, 41973750, 83880960, 84126705, 167925750, 335523840
Offset: 0
318 (decimal) = 10332 -> 10332 + 23301 = 100233 = 1071 (decimal).
Cf.
A058042 (trajectory of binary number 10110 (decimal 22)),
A061561 (
A058042 written in base 10),
A066450 (conjectured minimal k so that the trajectory of k in base n does not lead to a palindrome).
Cf.
A075253 (trajectory of 77 in base 2),
A075420 (trajectory of n in base 4 (presumably) does not reach a palindrome),
A075421 (trajectory of n in base 4 (presumably) does not reach a palindrome and (presumably) does not join the trajectory of any term m < n),
A075299 (trajectory of 290 in base 4),
A075466 (trajectory of 266718 in base 4),
A075467 (trajectory of 270798 in base 4),
A076247 (trajectory of 1059774 in base 4),
A076248 (trajectory of 1059831 in base 4),
A091675 (trajectory of n in base 4 (presumably) does not join the trajectory of any m < n).
-
trajectory:=function(init, steps, base) a:=init; S:=[a]; for n in [1..steps] do a+:=Seqint(Reverse(Intseq(a,base)),base); Append(~S, a); end for; return S; end function; trajectory(318, 26, 4);
-
NestWhileList[# + IntegerReverse[#, 4] &, 318, # !=
IntegerReverse[#, 4] &, 1, 26] (* Robert Price, Oct 18 2019 *)
-
{m=318; stop=29; c=0; while(c0,d=divrem(k,4); k=d[1]; rev=4*rev+d[2]); c++; m=m+rev)}
Two comments added, g.f. edited, MAGMA program and cross-references added by
Klaus Brockhaus, Oct 26 2009
A166913
a(n) = 20*a(n-1) - 64*a(n-2) - 150 for n > 2; a(0) = 357, a(1) = 14450, a(2) = 221650.
Original entry on oeis.org
357, 14450, 221650, 3508050, 55975250, 894989650, 14317376850, 229068199250, 3665051866450, 58640672576850, 938250132084050, 15011999596762450, 240191983481869650, 3843071695444596050, 61489146966052263250
Offset: 0
-
Join[{357},LinearRecurrence[{21,-84,64},{14450,221650,3508050},20]] (* Harvey P. Dale, Jun 18 2014 *)
-
m=15; v=concat([357, 14450, 221650], vector(m-3)); for(n=4, m, v[n]=20*v[n-1]-64*v[n-2]-150); v
A166915
a(n) = 20*a(n-1) - 64*a(n-2) - 45 for n>1; a(0) = 399, a(1) = 5695.
Original entry on oeis.org
399, 5695, 88319, 1401855, 22384639, 357974015, 5726863359, 91626930175, 1466019348479, 23456263438335, 375300030463999, 6004799749226495, 96076793034833919, 1537228676746182655, 24595658780694282239
Offset: 0
-
LinearRecurrence[{21, -84, 64}, {399, 5695, 88319}, 50] (* G. C. Greubel, May 28 2016 *)
-
m=15; v=concat([399, 5695], vector(m-2)); for(n=3, m, v[n]=20*v[n-1]-64*v[n-2]-45); v
A166916
a(n) = 20*a(n-1) - 64*a(n-2) - 15 for n > 1; a(0) = 357, a(1) = 5525.
Original entry on oeis.org
357, 5525, 87637, 1399125, 22373717, 357930325, 5726688597, 91626231125, 1466016552277, 23456252253525, 375299985724757, 6004799570269525, 96076792319006037, 1537228673882871125, 24595658769241036117
Offset: 0
-
LinearRecurrence[{21,-84,64},{357,5525,87637},20] (* Harvey P. Dale, Sep 24 2012 *)
-
m=15; v=concat([357, 5525], vector(m-2)); for(n=3, m, v[n]=20*v[n-1]-64*v[n-2]-15); v
A166914
a(n) = 20*a(n-1) - 64*a(n-2) for n > 1; a(0) = 21, a(1) = 340.
Original entry on oeis.org
21, 340, 5456, 87360, 1398016, 22369280, 357912576, 5726617600, 91625947136, 1466015416320, 23456247709696, 375299967549440, 6004799497568256, 96076792028200960, 1537228672719650816, 24595658764588154880
Offset: 0
-
[Binomial(4^(n+3), 2)/96: n in [0..30]]; // G. C. Greubel, Oct 02 2024
-
CoefficientList[Series[(21-80x)/((1-4x)(1-16x)),{x,0,20}],x] (* or *) LinearRecurrence[{20,-64},{21,340},20] (* Harvey P. Dale, Feb 23 2011 & Mar 30 2012 *)
-
{m=15; v=concat([21, 340], vector(m-2)); for(n=3, m, v[n]=20*v[n-1]-64*v[n-2]); v}
-
A166914=BinaryRecurrenceSequence(20,-64,21,340)
[A166914(n) for n in range(31)] # G. C. Greubel, Oct 02 2024
A166917
a(n) = 20*a(n-1) - 64*a(n-2) for n > 1; a(0) = 85, a(1) = 1364.
Original entry on oeis.org
85, 1364, 21840, 349504, 5592320, 89478144, 1431654400, 22906486784, 366503854080, 5864061927424, 93824991887360, 1501199874392064, 24019198007050240, 384307168179912704, 6148914691147038720, 98382635059426361344, 1574122160955116748800, 25185954575299047849984
Offset: 0
-
[Binomial(4^(n+4), 2)/384: n in [0..30]]; // G. C. Greubel, Oct 02 2024
-
LinearRecurrence[{20,-64}, {85, 1364}, 50] (* G. C. Greubel, May 28 2016 *)
-
{m=15; v=concat([85, 1364], vector(m-2)); for(n=3, m, v[n]=20*v[n-1]-64*v[n-2]); v}
-
A166917=BinaryRecurrenceSequence(20,-64,85,1364)
[A166917(n) for n in range(31)] # G. C. Greubel, Oct 02 2024
A167120
a(n) = 20*a(n-1) - 64*a(n-2) + 1 for n > 2; a(0) = 1, a(1) = 22, a(2) = 376.
Original entry on oeis.org
1, 22, 376, 6113, 98197, 1572709, 25169573, 402738085, 6443909029, 103102943141, 1649648684965, 26394385338277, 422310190927781, 6756963156905893, 108111410918739877, 1729782576332820389, 27676521227857055653
Offset: 0
-
[ n le 2 select 21*n-20 else n eq 3 select 376 else 20*Self(n-1)-64*Self(n-2)+1: n in [1..17] ];
-
CoefficientList[Series[(1 + x - 2*x^2 + x^3)/((1 - x)*(1 - 4*x)*(1 - 16*x)), {x, 0, 10}], x] (* G. C. Greubel, Jun 04 2016 *)
LinearRecurrence[{21,-84,64},{1,22,376,6113},20] (* Harvey P. Dale, Jul 13 2018 *)
A167121
a(n) = 20*a(n-1) - 64*a(n-2) + 2 for n > 2; a(0) = 1, a(1) = 22, a(2) = 377.
Original entry on oeis.org
1, 22, 377, 6134, 98554, 1578506, 25262666, 404228938, 6467768138, 103484710730, 1655757053770, 26492119588682, 423873940332362, 6781983152971594, 108511730878160714, 1736187695773032266, 27779003139258359626
Offset: 0
-
[ n le 2 select 21*n-20 else n eq 3 select 377 else 20*Self(n-1)-64*Self(n-2)+2: n in [1..17] ];
-
CoefficientList[Series[(1 + x - x^2 + x^3)/((1-x)*(1-4*x)*(1-16*x)), {x, 0, 10}], x] (* G. C. Greubel, Jun 04 2016 *)
Join[{1},RecurrenceTable[{a[1]==22,a[2]==377,a[n]==20a[n-1]-64a[n-2]+2}, a,{n,20}]] (* Harvey P. Dale, Apr 01 2019 *)
A167122
a(n) = 20*a(n-1) - 64*a(n-2) + 3 for n > 2; a(0) = 1, a(1) = 22, a(2) = 378.
Original entry on oeis.org
1, 22, 378, 6155, 98911, 1584303, 25355759, 405719791, 6491627247, 103866478319, 1661865422575, 26589853839087, 425437689736943, 6807003149037295, 108912050837581551, 1742592815213244143, 27881485050659663599
Offset: 0
-
[ n le 2 select 21*n-20 else n eq 3 select 378 else 20*Self(n-1)-64*Self(n-2)+3: n in [1..17] ];
-
CoefficientList[Series[(1 + x + x^3)/((1-x)*(1-4*x)*(1-16*x)), {x, 0, 10}], x] (* G. C. Greubel, Jun 04 2016 *)
LinearRecurrence[{21,-84,64},{1,22,378,6155},20] (* Harvey P. Dale, Sep 26 2023 *)
Showing 1-9 of 9 results.
Comments