A078274
a(n) is the number from which if odd-positioned digits are deleted then one gets the concatenation of first n odd numbers, while if even-positioned digits are deleted then one gets reverse concatenation of first n odd numbers. Position of least significant digit is considered to be 1.
Original entry on oeis.org
11, 1331, 153351, 17355371, 1937557391, 11315977951311, 113351719917151331, 1135517391111917351351, 11375175911311113917551371, 113951779115111331115917751391, 1231517991171115311351117917952311, 12335271911911173115511371119927152331
Offset: 1
a(4) = 17355371: deleting alternate digits starting from the LSD gives 1357. Deleting the other digits gives 7531.
-
a(n) = {my(d, v=w=[1]); for(i=2, n, v=concat(v, d=digits(2*i-1)); w=concat(d, w)); fromdigits(vector(2*#v, i, if(i%2, v[1+i\2], w[i/2]))); } \\ Sean A. Irvine, Jun 26 2025
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 19 2003
A078275
a(n) is the number from which if odd-positioned digits are deleted then one gets the concatenation of first n even numbers, while if even-positioned digits are deleted then one gets reverse concatenation of first n even numbers. Position of least significant digit is considered to be 1.
Original entry on oeis.org
22, 2442, 264462, 28466482, 214068861402, 2142618018061422, 21446182110018261442, 214661841102112018461462, 2148618611041122114018661482, 22406188110611241142116018862402, 224262801108112611441162118028062422, 2244628212001128114611641182210028262442
Offset: 1
a(4) = 28466482: deleting alternate digits starting from the LSD gives 2468. Deleting the other ones gives 8642.
-
a(n) = {my(d, v=w=[2]); for(i=2, n, v=concat(v, d=digits(2*i)); w=concat(d, w)); fromdigits(vector(2*#v, i, if(i%2, v[1+i\2], w[i/2]))); } \\ Jinyuan Wang, May 17 2020
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 19 2003
Original entry on oeis.org
2, 222, 24042, 2587862, 19460805582, 194783456187402, 1949652919092569222, 19514712827464728951042, 195328964640102010365332862, 2036926191873749194737819896582, 20387527373464782858287465275278402, 204057110181920737691967380200911660222, 2042389465473836468010601076554746548042042
Offset: 1
Showing 1-3 of 3 results.
Comments