2, 3, 4, 6, 9, 10, 16, 40, 104, 8840
Offset: 1
A260859
Base-9 representation of a(n) is the concatenation of the base-9 representations of 1, 2, ..., n, n-1, ..., 1.
Original entry on oeis.org
0, 1, 100, 8281, 672400, 54479161, 4412944900, 357449732641, 28953439105600, 21107054541321649, 138483384602892402628, 908589486379899193778809, 5961255620138564686107812272, 39111798123729126657669459066697, 256612507489786800304910707633347364
Offset: 0
a(0) = 0 is the result of the empty sum corresponding to 0 digits.
a(2) = 100 = (9+1)^2 = 9^2 + 2*9 + 1 = 121_9, concatenation of (1, 2, 1).
a(10) = 1234567810111087654321_9 is the concatenation of (1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 10, 8, 7, 6, 5, 4, 3, 2, 1), where the middle "10, 11, 10" are the base-9 representations of 9, 10, 9.
-
a(n,b=9)=sum(i=1,#n=concat(vector(n*2-1,k,digits(min(k,n*2-k),b))),n[i]*b^(#n-i))
A260860
Base-60 representation of a(n) is the concatenation of the base-60 representations of 1, 2, ..., n, n-1, ..., 1.
Original entry on oeis.org
0, 1, 3721, 13402921, 48250954921, 173703464074921, 625332472251274921, 2251196900199483274921, 8104308840723833403274921, 29175511826606141868603274921, 105031842575782131223980603274921, 378114633272815673636150700603274921
Offset: 0
a(0) = 0 is the result of the empty sum corresponding to 0 digits.
a(2) = (60+1)^2 = 60^2 + 2*60 + 1 = 121_60, concatenation of (1, 2, 1).
a(61) = 123...101110...21_60, which is the concatenation of (1, 2, 3, ..., 10, 11, 10, ..., 2, 1), where the middle "10, 11, 10" are the base-60 representations of 60, 61, 60.
-
a(n,b=60)=sum(i=1,#n=concat(vector(n*2-1,k,digits(min(k,n*2-k),b))),n[i]*b^(#n-i))
A261171
Value of k for which A260871(n) = A[b](k), with b = A261172(n); A[b](k) = the number whose base-b representation is the concatenation of the base-b representations of (1, ..., k, k-1, ..., 1).
Original entry on oeis.org
2, 3, 4, 4, 5, 6, 9, 10, 13, 16, 16, 21, 23, 23, 29, 28, 38, 39, 33, 34, 41, 40, 37, 37, 41, 42, 44, 64, 77, 82, 75, 83, 83, 87, 104, 104, 86, 94
Offset: 1
A260871(1) = A[2](2), therefore a(1) = 2.
A260871(2) = A[3](3), therefore a(2) = 3.
A260871(3) = A[2](4), therefore a(3) = 4.
-
A261171_list(LIM=1e499)={my(A=List(),p,d);for(b=2,9e9,for(n=b,9e9,if(LIMb)));ispseudoprime(p)&&listput(A,[log(p),n])));apply(t->t[2],vecsort(A))}
A261172
Value of b for which A260871(n) = A[b](k), with k = A261171(n); A[b](k) = the number whose base-b representation is the concatenation of the base-b representations of (1, ..., k, k-1, ..., 1).
Original entry on oeis.org
2, 3, 2, 4, 3, 6, 9, 10, 11, 16, 12, 14, 22, 18, 25, 20, 2, 6, 18, 14, 7, 40, 31, 25, 23, 20, 22, 62, 65, 68, 29, 23, 38, 26, 104, 6, 34, 52
Offset: 1
A260871(1) = A[2](2), therefore a(1) = 2.
A260871(2) = A[3](3), therefore a(2) = 3.
A260871(3) = A[2](4), therefore a(3) = 2.
-
A261172_list(LIM=1e499)={my(A=List(),p,d);for(b=2,9e9,for(n=b,9e9,if(LIMb)));ispseudoprime(p)&&listput(A,[log(p),n])));apply(t->t[2],vecsort(A))}
A260854
Base-4 representation of a(n) is the concatenation of the base-4 representations of 1, 2, ..., n, n-1, ..., 1.
Original entry on oeis.org
0, 1, 25, 441, 27961, 7148857, 1830131001, 468514084153, 119939614479673, 30704541449950521, 7860362613477971257, 2012252829087011018041, 515136724246861226808633, 131875001407205856562222393, 33760000360244849399916500281, 8642560092222683848298425324857
Offset: 0
a(0) = 0 is the result of the empty sum corresponding to 0 digits.
a(2) = 25 = 16 + 2*4 + 1 = 121_4 is the concatenation of (1, 2, 1).
a(4) = 27961 = 12310321_4 is the concatenation of (1, 2, 3, 10, 3, 2, 1), where the middle "10" is the base-4 representation of 4.
-
a(n,b=4)=sum(i=1,#n=concat(vector(n*2-1,k,digits(min(k,n*2-k),b))),n[i]*b^(#n-i))
A260864
Base-14 representation of a(n) is the concatenation of the base-14 representations of 1, 2, ..., n, n-1, ..., 1.
Original entry on oeis.org
0, 1, 225, 44521, 8732025, 1711559641, 335466848025, 65751518430361, 12887297839395225, 2525910379700086681, 495078434465717705625, 97035373155903680328601, 19018933138565843484771225, 3727710895159027432980276121, 10228838696316240496325238416281
Offset: 0
a(0) = 0 is the result of the empty sum corresponding to 0 digits.
a(2) = (14+1)^2 = 14^2 + 2*14 + 1 = 121_14, concatenation of (1, 2, 1).
a(15) = 123456789abcd101110dcba987654321_14 is the concatenation of (1, 2, 3, ..., 9, a, b, c, d, 10, 11, 10, d, ..., 1), where "d, 10, 11" are the base-14 representations of 13, 14, 15.
-
a(n,b=14)=sum(i=1,#n=concat(vector(n*2-1,k,digits(min(k,n*2-k),b))),n[i]*b^(#n-i))
A260855
Base-5 representation of a(n) is the concatenation of the base-5 representations of 1, 2, ..., n, n-1, ..., 1.
Original entry on oeis.org
0, 1, 36, 961, 24336, 3034961, 1896581836, 1185364159961, 740852620019336, 463032888020409961, 289395555025471581836, 180872221891237629784961, 113045138682031465901269336, 70653211676269864870442284961, 44158257297668670511080159081836
Offset: 0
a(0) = 0 is the result of the empty sum corresponding to 0 digits.
a(2) = 36 = (5+1)^2 = 5^2 + 2*5 + 1 = 121_4 is the concatenation of (1, 2, 1).
a(5) = 3034961 = 1234104321_5 is the concatenation of (1, 2, 3, 4, 10, 4, 3, 2, 1), where the middle "10" is the base-5 representation of 5.
-
a(n,b=5)=sum(i=1,#n=concat(vector(n*2-1,k,digits(min(k,n*2-k),b))),n[i]*b^(#n-i))
Comments