OFFSET
979,1
COMMENTS
When n has an odd number of digits, the middle one remains at its place.
This operation, denoted "rotation" k -> rot(k) in sequences A086002, A086003, A086004, is indistinguishable from A004086 (reverse n) for numbers < 1000. Therefore the offset is chosen as to have 2/3 of the displayed terms beyond this limit and 1/3 below. This makes it easy to find the sequence searching for the terms near that limit, ..., 999, 10, 110, 210,....
FORMULA
a(n) = A004086(n) ("reverse n") for n < 1000.
EXAMPLE
a(123) = concat(3, 2, 1) = 321.
a(1234) = concat(34, 12) = 3412.
a(12345) = concat(45, 3, 12) = 45312.
PROG
(PARI) a(n)={n=digits(n); fromdigits(concat([n[#n\/2+1..#n], n[#n\2+1..#n\/2], n[1..#n\2]]))}
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Sep 26 2019
STATUS
approved