login
A330418
Numbers whose k digits can be permuted into a new k-digit number according to rules explained in the Comments section.
2
0, 112, 1120, 3122, 11114, 11200, 13004, 13202, 30014, 30212, 31220, 33024, 33222, 111140, 112000, 112112, 113142, 130040, 132020, 300140, 302120, 312114, 312200, 313144, 330240, 332220, 500142, 502122, 511144, 512004, 512202, 530044, 530242, 532024, 532222
OFFSET
1,2
COMMENTS
Each digit d of the k-digit word is placed in a new k-digit word at a position which is d steps to the right of its original position when d is odd, or to the left when d is even. Digits may not be placed outside the k-digit word or replace an already placed digit.
Concatenation of any two terms is also a term, except for 0 which can only be concatenated to the right.
LINKS
EXAMPLE
Original 13202 -3202 --202 ---02 ----2 -----
Permuted ----- -1--- -1--3 21--3 21-03 21203
Placing digit 5 outside is not allowed.
Original 15202 -5202 --202
Permuted ----- -1--- -1--3-5
Collision, the 1 cannot replace the 3.
Original 13212 -3212 --212 ---12
Permuted ----- -1--- -1--3 21--3
CROSSREFS
Sequence in context: A206318 A206311 A343372 * A235311 A008430 A249004
KEYWORD
nonn,base
AUTHOR
Lars Blomberg and Eric Angelini, Dec 14 2019
STATUS
approved